Use development

This commit is contained in:
2026-05-30 02:30:18 +02:00
parent dc1d3c2269
commit 834d7a25c1
2 changed files with 33 additions and 32 deletions
@@ -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/" }
}
}
}
}
}
+1 -32
View File
@@ -6,36 +6,5 @@
"Yarp": "Information"
}
},
"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/" }
}
}
}
}
"AllowedHosts": "*"
}