Browse Source
Set allowed origins in config (#5109)
Set allowed origins in config (#5109)
* Add a way to use a JWT in an HTTP only cookie If a JWT is not included in the Authorization header or a query string, attempt to get a JWT from an HTTP only cookie. * Added a way to specify allowed origins header from config * Removed unecessary log * Check list of domains from config or command flag * Handle default wildcard and change name of config value to corspull/4529/head
jerebear12
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 106 additions and 12 deletions
-
6weed/command/filer.go
-
4weed/command/s3.go
-
5weed/command/scaffold/security.toml
-
2weed/command/server.go
-
3weed/filer/filer.go
-
4weed/s3api/s3api_handlers.go
-
38weed/s3api/s3api_server.go
-
10weed/server/filer_server.go
-
46weed/server/filer_server_handlers.go
Write
Preview
Loading…
Cancel
Save
Reference in new issue