The YARP routes, the bucket path transform and the StreamTicket section only existed in appsettings.Development.json, so a Production run had no routes at all and every /media request fell through to a 404. Move them to appsettings.json and leave only the environment-specific overrides (key path) in the Development file; the container gets the filer address, the bucket and the allowed CORS origins from environment variables.
6 lines
87 B
JSON
6 lines
87 B
JSON
{
|
|
"StreamTicket": {
|
|
"PublicKeyPath": "../../deploy/keys/stream_public.pem"
|
|
}
|
|
}
|