Commit 1ded2846 by lxyang

feat上传

parent fb636d31
...@@ -18,7 +18,7 @@ if (process.env.npm_config_preview || rawArgv.includes('--preview')) { ...@@ -18,7 +18,7 @@ if (process.env.npm_config_preview || rawArgv.includes('--preview')) {
app.use( app.use(
publicPath, publicPath,
serveStatic('/dist/', { serveStatic('./dist', {
index: ['index.html', '/'] index: ['index.html', '/']
}) })
) )
......
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 to comment