From a6e1de9964e59095d649ce51903ea482505703b3 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Tue, 1 Dec 2020 21:02:42 +0900 Subject: [PATCH] Allow user to set public path --- frontend/nuxt.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/nuxt.config.js b/frontend/nuxt.config.js index 471390b2..a2e4f8b7 100644 --- a/frontend/nuxt.config.js +++ b/frontend/nuxt.config.js @@ -124,7 +124,7 @@ export default { /* ** You can extend webpack config here */ - publicPath: '/static/_nuxt/', + publicPath: process.env.PUBLIC_PATH || '/_nuxt/', extend(config, ctx) { config.module.rules.push({ test: /\.(txt|csv|conll|jsonl)$/i,