Use development
This commit is contained in:
@@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"StreamTicket": {
|
||||||
|
"PublicKeyPath": "D:\\weed\\stream_public.pem",
|
||||||
|
"Audience": "media-gateway",
|
||||||
|
"Issuer": "musify-webapi",
|
||||||
|
"QueryParameterName": "t",
|
||||||
|
"MediaPathPrefix": "/media"
|
||||||
|
},
|
||||||
|
|
||||||
|
"Cors": {
|
||||||
|
"AllowedOrigins": [ "http://localhost:5173", "http://localhost:3000" ]
|
||||||
|
},
|
||||||
|
|
||||||
|
"ReverseProxy": {
|
||||||
|
"Routes": {
|
||||||
|
"media": {
|
||||||
|
"ClusterId": "seaweed-filer",
|
||||||
|
"Match": { "Path": "/media/{**rest}" },
|
||||||
|
"Transforms": [
|
||||||
|
{ "PathPattern": "/buckets/webapi-storage/{**rest}" }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Clusters": {
|
||||||
|
"seaweed-filer": {
|
||||||
|
"Destinations": {
|
||||||
|
"filer": { "Address": "http://localhost:8888/" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -6,36 +6,5 @@
|
|||||||
"Yarp": "Information"
|
"Yarp": "Information"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"AllowedHosts": "*",
|
"AllowedHosts": "*"
|
||||||
|
|
||||||
"StreamTicket": {
|
|
||||||
"PublicKeyPath": "D:\\weed\\stream_public.pem",
|
|
||||||
"Audience": "media-gateway",
|
|
||||||
"Issuer": "musify-webapi",
|
|
||||||
"QueryParameterName": "t",
|
|
||||||
"MediaPathPrefix": "/media"
|
|
||||||
},
|
|
||||||
|
|
||||||
"Cors": {
|
|
||||||
"AllowedOrigins": [ "http://localhost:5173", "http://localhost:3000" ]
|
|
||||||
},
|
|
||||||
|
|
||||||
"ReverseProxy": {
|
|
||||||
"Routes": {
|
|
||||||
"media": {
|
|
||||||
"ClusterId": "seaweed-filer",
|
|
||||||
"Match": { "Path": "/media/{**rest}" },
|
|
||||||
"Transforms": [
|
|
||||||
{ "PathPattern": "/buckets/webapi-storage/{**rest}" }
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Clusters": {
|
|
||||||
"seaweed-filer": {
|
|
||||||
"Destinations": {
|
|
||||||
"filer": { "Address": "http://localhost:8888/" }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user