Files: 83be8b8f43a8989f425e4948524233cb63983146 / now.json
1064 bytesRaw
1 | { |
2 | "version": 2, |
3 | "name": "plainbudget", |
4 | "alias": [ |
5 | "plainbudget.now.sh" |
6 | ], |
7 | "env": { |
8 | "NODE_ENV": "production" |
9 | }, |
10 | "builds": [ |
11 | { "src": "next.config.js", "use": "@now/next" }, |
12 | { "src": "static/**/*", "use": "@now/static" }, |
13 | { "src": ".well-known/*", "use": "@now/static" } |
14 | ], |
15 | "routes": [ |
16 | { |
17 | "src": "/.well-known/(.*)", |
18 | "dest": "/.well-known/$1", |
19 | "headers": { |
20 | "content-type": "text/plain", |
21 | "content-disposition": "inline; filename=\"$1\"", |
22 | "Access-Control-Allow-Origin": "*" |
23 | } |
24 | }, |
25 | { |
26 | "src": "/static/(.*)", |
27 | "dest": "/static/$1", |
28 | "headers": { |
29 | "Access-Control-Allow-Origin": "*" |
30 | } |
31 | }, |
32 | { |
33 | "src": "^/service-worker.js$", |
34 | "dest": "/_next/static/service-worker.js", |
35 | "headers": { |
36 | "cache-control": "public, max-age=43200, immutable", |
37 | "Service-Worker-Allowed": "/" |
38 | } |
39 | }, |
40 | { |
41 | "src": "/(.*)", |
42 | "dest": "/$1", |
43 | "headers": { |
44 | "Access-Control-Allow-Origin": "*" |
45 | } |
46 | } |
47 | ] |
48 | } |
49 |
Built with git-ssb-web