mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-07 01:09:54 +08:00
fix(core): enable page history for beta/stable (#5415)
This commit is contained in:
@@ -29,7 +29,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,
|
||||||
@@ -40,7 +40,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,
|
||||||
|
|||||||
Reference in New Issue
Block a user