fix: update configuration

This commit is contained in:
yanglbme 2020-11-09 11:33:48 +08:00
parent faca068529
commit f61628b3a9
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
"author": "doocs",
"version": "1.4.2",
"private": true,
"homepage": "https://doocs.gitee.io/md",
"homepage": ".",
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",

View File

@ -1,4 +1,4 @@
module.exports = {
outputDir: "dist",
publicPath: "/md/",
publicPath: process.env.NETLIFY ? '/' : '/md/'
};