Add .env for now dev

This commit is contained in:
Tienson Qin
2020-04-01 15:31:00 +08:00
parent 96641a26f2
commit e6a27437a2
3 changed files with 4 additions and 2 deletions

3
.gitignore vendored
View File

@@ -20,4 +20,5 @@ pom.xml.asc
.hgignore
.hg/
.now
.now
.env

View File

@@ -2,3 +2,4 @@ web
api/shadow-cljs.edn
api/.shadow-cljs
api/src
.env

View File

@@ -13,7 +13,7 @@
],
"routes": [
{ "src": "/api(.*)", "dest": "api/index.js" },
{ "src": "/(.+js|.+css|.+png|.+ico|robots.txt)", "dest": "/public/$1" },
{ "src": "/(.+js|.+css|.+png|.+svg|.+jpg|.+ico|robots.txt)", "dest": "/public/$1" },
{ "src": "/(.*)", "dest": "/public/index.html" }
]
}