diff --git a/apps/core/.webpack/runtime-config.ts b/apps/core/.webpack/runtime-config.ts index acaee1b2e7..fc3c21b52b 100644 --- a/apps/core/.webpack/runtime-config.ts +++ b/apps/core/.webpack/runtime-config.ts @@ -23,7 +23,7 @@ export function getRuntimeConfig(buildFlags: BuildFlags): RuntimeConfig { enableTestProperties: false, enableBroadcastChannelProvider: true, enableDebugPage: true, - changelogUrl: 'https://affine.pro/blog/what-is-new-affine-0717', + changelogUrl: 'https://affine.pro/blog/what-is-new-affine-0728', imageProxyUrl: 'https://workers.toeverything.workers.dev/proxy/image', enablePreloading: true, enableNewSettingModal: true, @@ -43,7 +43,7 @@ export function getRuntimeConfig(buildFlags: BuildFlags): RuntimeConfig { enableTestProperties: true, enableBroadcastChannelProvider: true, enableDebugPage: true, - changelogUrl: 'https://affine.pro/blog/what-is-new-affine-0717', + changelogUrl: 'https://github.com/toeverything/AFFiNE/releases', imageProxyUrl: 'https://workers.toeverything.workers.dev/proxy/image', enablePreloading: true, enableNewSettingModal: true, diff --git a/apps/core/src/components/affine/setting-modal/general-setting/about/index.tsx b/apps/core/src/components/affine/setting-modal/general-setting/about/index.tsx index e5f1ce8286..43ca873cc1 100644 --- a/apps/core/src/components/affine/setting-modal/general-setting/about/index.tsx +++ b/apps/core/src/components/affine/setting-modal/general-setting/about/index.tsx @@ -61,10 +61,7 @@ export const AboutAffine = () => { desc={t['View the AFFiNE Changelog.']()} style={{ cursor: 'pointer' }} onClick={() => { - window.open( - 'https://affine.pro/blog/what-is-new-affine-0717', - '_blank' - ); + window.open(runtimeConfig.changelogUrl, '_blank'); }} >