mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #4013] [MERGED] Allow CORS domains to be configured #9817
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/4013
Author: @crobibero
Created: 8/30/2020
Status: ✅ Merged
Merged: 9/8/2020
Merged by: @anthonylavado
Base:
master← Head:dynamic-cors📝 Commits (9)
3c0484cAllow for dynamic cors responseeba0d9eAlways allow set credentials headere97ccd8Remove DynamicCorsMiddleware65d05f9Merge remote-tracking branch 'upstream/master' into dynamic-cors1de22afMerge remote-tracking branch 'upstream/master' into dynamic-cors8a08111Merge remote-tracking branch 'upstream/master' into dynamic-cors2c05d53Convert to ICorsPolicyProvider527ffaaclean docs342de39Move CorsPolicyProvider to Jellyfin.Server.Configuration📊 Changes
5 files changed (+61 additions, -37 deletions)
View changed files
➕
Jellyfin.Server/Configuration/CorsPolicyProvider.cs(+49 -0)📝
Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs(+5 -5)➖
Jellyfin.Server/Models/ServerCorsPolicy.cs(+0 -30)📝
Jellyfin.Server/Startup.cs(+1 -2)📝
MediaBrowser.Model/Configuration/ServerConfiguration.cs(+6 -0)📄 Description
Allow for configuring CORS origins.
If no origin is set- use origin from request.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.