-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.json
25 lines (25 loc) · 970 Bytes
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"cors": {
"config": {
"allow_origins": ["*"],
"allow_credentials": true,
"allow_methods": ["POST"],
"allow_headers": ["Authorization", "Content-Type"],
"expose_headers": []
}
},
"security": {
"headers": {
"Strict-Transport-Security": "max-age=63072000; includeSubdomains",
"Content-Security-Policy": "default-src 'self'; img-src 'self' https://fastapi.tiangolo.com; style-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net https://unpkg.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://cdn.jsdelivr.net blob:; connect-src 'self';",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "DENY",
"X-XSS-Protection": "1; mode=block"
}
},
"logging": {
"level": "DEBUG",
"format": "%(levelname)s [%(asctime)s] %(message)s",
"datefmt": "%d-%m-%Y %H:%M:%S"
}
}