cors

Package
github.com/cs3org/reva/v3/internal/http/interceptors/cors
Source
internal/http/interceptors/cors · Go reference

Enable it

Add this table to the revad configuration file:

[http.middlewares.cors]
# settings below
This package has no documentation yet. Add a package doc comment or a README.md in internal/http/interceptors/cors, then run make gen-doc.

Configuration

KeyTypeDefaultDescription
allow_credentialsbool-source
options_passthroughbool-source
debugbool-source
max_ageint-source
priorityint-source
allowed_methods[]string-source
allowed_headers[]string-source
exposed_headers[]string-source
allowed_origins[]string-source