feat: use relative path for api (#5520)

This commit is contained in:
DarkSky committed 2024-01-05 14:01:25 +00:00
1 parent b86a5a2830
commit 9650a5a6a1
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -377,7 +377,7 @@ export const createConfiguration: (
},
proxy: {
'/api/worker/': {
target: 'https://affine-worker.toeverything.workers.dev',
target: 'https://affine.fail',
changeOrigin: true,
secure: false,
},