update at 2026-02-09 16:09:44

This commit is contained in:
douboer
2026-02-09 16:09:44 +08:00
parent ffb7367d3a
commit 917f210dae
20 changed files with 790 additions and 184 deletions

View File

@@ -1,7 +1,9 @@
// CDN 配置文件
// 管理所有静态资源的 CDN 地址
const CDN_BASE_URL = 'https://fonts.biboer.cn';
const { buildRuntimeConfig } = require('./server')
const runtimeConfig = buildRuntimeConfig()
const CDN_BASE_URL = runtimeConfig.fontsBaseUrl;
// 图标路径配置
const ICON_PATHS = {
@@ -30,7 +32,7 @@ const ICON_PATHS = {
// 字体资源路径
const FONT_BASE_URL = `${CDN_BASE_URL}/fonts`;
const FONTS_JSON_URL = `${CDN_BASE_URL}/fonts.json`;
const FONTS_JSON_URL = runtimeConfig.fontsManifestUrl;
module.exports = {
CDN_BASE_URL,