There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
feat: use relative path for api (#5520)
DarkSky9650a5a6a1d1
diff --git a/packages/frontend/core/.webpack/config.ts b/packages/frontend/core/.webpack/config.tsindex 859ee71c12..83a3b1b5b5 100644--- a/packages/frontend/core/.webpack/config.ts+++ b/packages/frontend/core/.webpack/config.ts@@ -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,},diff --git a/packages/frontend/core/.webpack/runtime-config.ts b/packages/frontend/core/.webpack/runtime-config.tsindex 0f5f1c03ba..ad61f39931 100644--- a/packages/frontend/core/.webpack/runtime-config.ts+++ b/packages/frontend/core/.webpack/runtime-config.ts@@ -18,7 +18,7 @@ export function getRuntimeConfig(buildFlags: BuildFlags): RuntimeConfig {enableDebugPage: true,changelogUrl: 'https://affine.pro/what-is-new',downloadUrl: 'https://affine.pro/download',- imageProxyUrl: 'https://workers.toeverything.workers.dev/proxy/image',+ imageProxyUrl: '/api/worker/image-proxy',enablePreloading: true,enableNewSettingModal: true,enableNewSettingUnstableApi: false,@@ -60,7 +60,7 @@ export function getRuntimeConfig(buildFlags: BuildFlags): RuntimeConfig {enableDebugPage: true,changelogUrl: 'https://github.com/toeverything/AFFiNE/releases',downloadUrl: 'https://affine.pro/download',- imageProxyUrl: 'https://workers.toeverything.workers.dev/proxy/image',+ imageProxyUrl: '/api/worker/image-proxy',enablePreloading: true,enableNewSettingModal: true,enableNewSettingUnstableApi: false,