feat: add preloading template (#2655)

Co-authored-by: Himself65 <himself65@outlook.com>
This commit is contained in:
FlrandeandHimself65 authored and GitHub committed 2023-06-07 17:31:54 +08:00
1 parent c4c4ec6a67
commit 35fb10c95b
67 files changed
+6761 -287

No files matched your search

+4
View File
@@ -41,4 +41,8 @@ export const buildFlags = {
),
changelogUrl:
process.env.CHANGELOG_URL ?? 'http://affine.pro/blog/whats-new-affine-0601',
enablePreloading:
process.env.ENABLE_PRELOADING === undefined
? true
: process.env.ENABLE_PRELOADING === 'true',
};