test for router

This commit is contained in:
LiHuashen
2018-12-21 17:10:26 +08:00
parent eea9a5a900
commit a764c30ecf
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -1 +1,4 @@
/* /index.html 200
/* /index.html 200
# Redirect default Netlify subdomain to primary domain
http://m5-docs.netlify.com/* http://docs.m5stack.com/:splat 301!
+1 -1
View File
@@ -45,7 +45,7 @@
// '/ja/': 'https://docs.m5stack.com/ja/',
// '/': '/'
// },
// routerMode: 'history', // default: 'hash'
routerMode: 'history', // default: 'hash'
// /#/ -> /
// if (/\/#\//.test(location.href)) {
// location.href = location.href.replace('/#/', '/')