mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
test for router
This commit is contained in:
+4
-1
@@ -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
@@ -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('/#/', '/')
|
||||
|
||||
Reference in New Issue
Block a user