[fix] / redirect to /cfp

This commit is contained in:
mysper 2021-01-20 00:02:52 +08:00
parent 99bb68c18b
commit bb18d1b7ef
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
"private": true, "private": true,
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",
"build": "vue-cli-service build && mv ./dist/2021/* ./dist && rm -rf 2021 && mv ./dist/app.html ./dist/index.html", "build": "vue-cli-service build && mv ./dist/2021/* ./dist && rm -rf 2021 && cp ./dist/app.html ./dist/index.html",
"lint": "vue-cli-service lint" "lint": "vue-cli-service lint"
}, },
"dependencies": { "dependencies": {

View File

@ -10,7 +10,7 @@ export const routes: RouteConfig[] = [
{ {
path: '/', path: '/',
name: 'Home', name: 'Home',
component: CFP, redirect: '/cfp',
meta: { meta: {
index: 0, index: 0,
label: 'SITCON 2021', label: 'SITCON 2021',