git ssb

0+

Rômulo Alves / plainbudget-next



Commit bd4bfedca4b0bd09f8505a662478749de1fe663f

Configures deploy of static assets

romuloalves committed on 2/6/2019, 8:26:44 PM
Parent: d43e73c547b54ad1b9f250da0e06562553fdd203

Files changed

now.jsonchanged
now.jsonView
@@ -8,8 +8,9 @@
88 "NODE_ENV": "production"
99 },
1010 "builds": [
1111 { "src": "next.config.js", "use": "@now/next" },
12 + { "src": "static/**/*", "use": "@now/static" },
1213 { "src": ".well-known/*", "use": "@now/static" }
1314 ],
1415 "routes": [
1516 {
@@ -20,8 +21,12 @@
2021 "content-disposition": "inline; filename=\"$1\""
2122 }
2223 },
2324 {
25 + "src": "/static/(.*)",
26 + "dest": "/static/$1"
27 + },
28 + {
2429 "src": "/(.*)",
2530 "dest": "/$1"
2631 }
2732 ]

Built with git-ssb-web