Commit f71855a3 by 施嘉伟

fix(nuxtconfgi): 修复webpack-define-plugin挂载数据暴露ak的问题

parent 2550bee2
...@@ -62,7 +62,11 @@ const gtagConfig = IS_USE_OSS ...@@ -62,7 +62,11 @@ const gtagConfig = IS_USE_OSS
export default { export default {
buildDir: 'nuxt-dist', buildDir: 'nuxt-dist',
env, env: {
...env,
UPLOADER_ACCESS: '',
STATIC_OSS_ACCESS: ''
},
router: { router: {
base: globalEnvConfig.baseUrl, base: globalEnvConfig.baseUrl,
middleware: ['device'], middleware: ['device'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment