chore: update change log link (#3435)

This commit is contained in:
JimmFly
2023-07-28 23:00:03 +08:00
committed by GitHub
parent 7b3be389d4
commit ed8b2d9927
2 changed files with 3 additions and 6 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ export function getRuntimeConfig(buildFlags: BuildFlags): RuntimeConfig {
enableTestProperties: false, enableTestProperties: false,
enableBroadcastChannelProvider: true, enableBroadcastChannelProvider: true,
enableDebugPage: 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', imageProxyUrl: 'https://workers.toeverything.workers.dev/proxy/image',
enablePreloading: true, enablePreloading: true,
enableNewSettingModal: true, enableNewSettingModal: true,
@@ -43,7 +43,7 @@ export function getRuntimeConfig(buildFlags: BuildFlags): RuntimeConfig {
enableTestProperties: true, enableTestProperties: true,
enableBroadcastChannelProvider: true, enableBroadcastChannelProvider: true,
enableDebugPage: 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', imageProxyUrl: 'https://workers.toeverything.workers.dev/proxy/image',
enablePreloading: true, enablePreloading: true,
enableNewSettingModal: true, enableNewSettingModal: true,
@@ -61,10 +61,7 @@ export const AboutAffine = () => {
desc={t['View the AFFiNE Changelog.']()} desc={t['View the AFFiNE Changelog.']()}
style={{ cursor: 'pointer' }} style={{ cursor: 'pointer' }}
onClick={() => { onClick={() => {
window.open( window.open(runtimeConfig.changelogUrl, '_blank');
'https://affine.pro/blog/what-is-new-affine-0717',
'_blank'
);
}} }}
> >
<ArrowRightSmallIcon /> <ArrowRightSmallIcon />