mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix: copilot storage config (#6650)
This commit is contained in:
@@ -36,6 +36,11 @@ if (env.R2_OBJECT_STORAGE_ACCOUNT_ID) {
|
||||
AFFiNE.storage.storages.blob.bucket = `workspace-blobs-${
|
||||
AFFiNE.affine.canary ? 'canary' : 'prod'
|
||||
}`;
|
||||
|
||||
AFFiNE.storage.storages.copilot.provider = 'cloudflare-r2';
|
||||
AFFiNE.storage.storages.copilot.bucket = `workspace-copilot-${
|
||||
AFFiNE.affine.canary ? 'canary' : 'prod'
|
||||
}`;
|
||||
}
|
||||
|
||||
AFFiNE.plugins.use('copilot', {
|
||||
|
||||
Reference in New Issue
Block a user