Compare commits

...

8 Commits

Author SHA1 Message Date
kbariotis
31747b08a7 refine routes 2021-02-14 17:49:37 +02:00
kbariotis
c71ba5c02a add room 2021-02-14 17:43:09 +02:00
kbariotis
e86ae51c92 test handle filesystem 2021-02-14 17:34:41 +02:00
kbariotis
d87ced1711 separate routes 2021-02-14 17:25:27 +02:00
kbariotis
803785201e fix regexp 2021-02-14 17:23:10 +02:00
kbariotis
e844ef8c34 fix headers 2021-02-14 17:19:12 +02:00
kbariotis
9e2df2ac82 merge routes with headers 2021-02-14 17:18:07 +02:00
kbariotis
feae342283 resolve #2910 2021-02-14 17:15:40 +02:00

View File

@ -1,25 +1,32 @@
{
"headers": [
"routes": [
{
"source": "/(.*)",
"headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "Feature-Policy",
"value": "*"
},
{
"key": "Referrer-Policy",
"value": "origin"
}
]
"src": "/",
"dest": "/",
"headers": {
"Access-Control-Allow-Origin": "*",
"X-Content-Type-Options": "nosniff",
"Feature-Policy": "*",
"Referrer-Policy": "origin"
}
},
{
"src": "/#json=.*",
"dest": "/",
"headers": {
"Access-Control-Allow-Origin": "*",
"X-Content-Type-Options": "nosniff",
"Feature-Policy": "*",
"Referrer-Policy": "origin"
}
},
{
"handle": "filesystem"
},
{
"src": "/(.+)",
"dest": "/",
"status": 301
}
]
}