浏览代码

删除appConfigSrc多余符号 (#2813)

Gary 1 年之前
父节点
当前提交
7e0456cc6c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      internal/vite-config/src/plugins/appConfig.ts

+ 1 - 1
internal/vite-config/src/plugins/appConfig.ts

@@ -37,7 +37,7 @@ async function createAppConfigPlugin({
 
       const appConfigSrc = `${
         publicPath || '/'
-      }${GLOBAL_CONFIG_FILE_NAME}?v=${version}-${createContentHash(source)}}`;
+      }${GLOBAL_CONFIG_FILE_NAME}?v=${version}-${createContentHash(source)}`;
 
       return {
         html,