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", "author": "doocs",
"version": "1.4.2", "version": "1.4.2",
"private": true, "private": true,
"homepage": "https://doocs.gitee.io/md", "homepage": ".",
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",
"build": "vue-cli-service build", "build": "vue-cli-service build",

View File

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