-
Notifications
You must be signed in to change notification settings - Fork 1
/
now.json
24 lines (24 loc) · 1.08 KB
/
now.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"name": "loop-hole",
"version": 2,
"alias": "loop-hole",
"builds": [
{"src": "static/**/*", "use": "@now/static"},
{"src": "api/**/*.js", "use": "@now/node"}
],
"routes": [
{"src": "/static/(.*)", "dest": "/static/$1"},
{"src": "/api/(.*)", "dest": "/api/$1"},
{"src": "/", "dest": "/static/index.html"},
{"src": "/about", "dest": "/static/index.html"},
{"src": "/courses", "dest": "/static/index.html"},
{"src": "/assignments", "dest": "/static/index.html"},
{"src": "/hax", "dest": "/static/hax/index.html"},
{"src": "/hax/quill.user.js", "headers": {"Content-Type": "text/javascript"}, "dest": "/static/hax/quill.user.js"},
{"src": "/hax/typingclub.user.js", "headers": {"Content-Type": "text/javascript"}, "dest": "/static/hax/typingclub.user.js"},
{"src": "/hax/support.js", "headers": {"Content-Type": "text/javascript", "Access-Control-Allow-Origin": "*"}, "dest": "/static/hax/support.js"},
{"src": "/sw.js", "dest": "/static/sw.js"},
{"src": "/progress/(.*)", "dest": "/static/index.html"},
{"src": "/.*", "status": 404, "dest": "/static/404.html"}
]
}