mirror of
https://github.com/zhigang1992/uber-cities.git
synced 2026-04-29 09:44:56 +08:00
add _redirects
This commit is contained in:
1
_redirects
Normal file
1
_redirects
Normal file
@@ -0,0 +1 @@
|
||||
/* /index.html 200
|
||||
@@ -5,7 +5,7 @@
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"start": "if-env NODE_ENV=production && npm run -s serve || npm run -s dev",
|
||||
"build": "preact build -p --template src/template.html",
|
||||
"build": "preact build -p --template src/template.html && cp _redirects build/_redirects",
|
||||
"serve": "preact build && preact serve",
|
||||
"deploy": "preact build && now && now alias",
|
||||
"dev": "preact watch",
|
||||
|
||||
Reference in New Issue
Block a user