fix(env): is mobile flag (#8005)

only 'mobile' entry has isMobile = true flag
This commit is contained in:
EYHN committed 2024-09-04 09:21:36 +00:00
1 parent 53886a7cd3
commit 2524491bd1
78 files changed
+169 -205

No files matched your search

+1
View File
@@ -7,6 +7,7 @@ export function getRuntimeConfig(buildFlags: BuildFlags): RuntimeConfig {
const buildPreset: Record<BuildFlags['channel'], RuntimeConfig> = {
get stable() {
return {
distribution: buildFlags.distribution,
appBuildType: 'stable' as const,
serverUrlPrefix: 'https://app.affine.pro',
appVersion: packageJson.version,