mirror of
https://github.com/p-stream/p-stream.git
synced 2026-01-11 20:10:32 +00:00
try vercel method
This commit is contained in:
parent
108b1a0b1d
commit
67b97f2110
1 changed files with 15 additions and 0 deletions
15
vercel.json
15
vercel.json
|
|
@ -1,5 +1,20 @@
|
||||||
{
|
{
|
||||||
"rewrites": [
|
"rewrites": [
|
||||||
|
{
|
||||||
|
"source": "/opensearch.xml",
|
||||||
|
"destination": "/opensearch.xml"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/media/(.*)",
|
||||||
|
"has": [
|
||||||
|
{
|
||||||
|
"type": "header",
|
||||||
|
"key": "x-rewrite",
|
||||||
|
"value": "true"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"destination": "https://meta.pstream.org/media/$1"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source": "/(.*)",
|
"source": "/(.*)",
|
||||||
"destination": "/"
|
"destination": "/"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue