fix(core): enable page history for beta/stable (#5415)

This commit is contained in:
Peng Xiao
2023-12-27 06:30:29 +00:00
committed by 李华桥
parent fd37026ca5
commit de951c8779
@@ -31,7 +31,7 @@ export function getRuntimeConfig(buildFlags: BuildFlags): RuntimeConfig {
enableCaptcha: true, enableCaptcha: true,
enableEnhanceShareMode: false, enableEnhanceShareMode: false,
enablePayment: true, enablePayment: true,
enablePageHistory: false, enablePageHistory: true,
enableCopilot: false, enableCopilot: false,
serverUrlPrefix: 'https://app.affine.pro', serverUrlPrefix: 'https://app.affine.pro',
editorFlags, editorFlags,
@@ -42,7 +42,7 @@ export function getRuntimeConfig(buildFlags: BuildFlags): RuntimeConfig {
get beta() { get beta() {
return { return {
...this.stable, ...this.stable,
enablePageHistory: false, enablePageHistory: true,
enableCopilot: false, enableCopilot: false,
serverUrlPrefix: 'https://insider.affine.pro', serverUrlPrefix: 'https://insider.affine.pro',
appBuildType: 'beta' as const, appBuildType: 'beta' as const,