Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit e6ccd88

Browse files
committed
add CORS settings in config-sample.ini
1 parent 402d84e commit e6ccd88

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

config-sample.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ keyPath=
2525
# expressjs shortcuts are supported: loopback(127.0.0.1/8, ::1/128), linklocal(169.254.0.0/16, fe80::/10), uniquelocal(10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, fc00::/7)
2626
trustedReverseProxy=false
2727

28+
# setting the CORS headers for cross-origin requests
29+
# corsAllowOrigin='*'
30+
# corsAllowMethods='GET,POST,PUT,DELETE,PATCH'
31+
# corsAllowHeaders='Content-Type,Authorization'
32+
2833

2934
[Session]
3035
# Use this setting to set a custom value for the "Max-Age" Attribute of the session cookie.

0 commit comments

Comments
 (0)