forgejo-notifications-core/integration/conf/app.ini

32 lines
812 B
INI
Raw Normal View History

[cors]
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ;
; ; More information about CORS can be found here: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#The_HTTP_response_headers
; ; enable cors headers (disabled by default)
2023-09-18 20:59:40 +05:30
ENABLED = true
; ;
; ; scheme of allowed requests
; SCHEME = http
; ;
; ; list of requesting domains that are allowed
2023-09-18 20:59:40 +05:30
ALLOW_DOMAIN = *
; ;
; ; allow subdomains of headers listed above to request
; ALLOW_SUBDOMAIN = false
; ;
; ; list of methods allowed to request
2023-09-18 20:59:40 +05:30
METHODS = GET,HEAD,POST,PUT,PATCH,DELETE,OPTIONS
; ;
; ; max time to cache response
; MAX_AGE = 10m
; ;
; ; allow request with credentials
ALLOW_CREDENTIALS = true
; ;
; ; headers to permit
2023-09-18 20:59:40 +05:30
HEADERS = Content-Type,User-Agent
[federation]
ENABLED = true