-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathserver.conf
More file actions
22 lines (20 loc) · 747 Bytes
/
server.conf
File metadata and controls
22 lines (20 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[global]
server.socket_host: '0.0.0.0'
server.socket_port: 1234
[/]
request.dispatch: cherrypy.dispatch.MethodDispatcher()
tools.response_headers.on: True
tools.response_headers.headers: [
('Access-Control-Allow-Origin', '*'),
('Access-Control-Allow-Methods', 'GET, POST, DELETE, PUT'),
('Access-Control-Allow-Headers', 'Content-Type, api_key, Authorization')
]
[/swagger.json]
tools.staticfile.on: True
tools.staticfile.filename: os.path.join(os.getcwd(), 'swagger.json')
tools.response_headers.on: True
tools.response_headers.headers': [
('Access-Control-Allow-Origin', '*'),
('Access-Control-Allow-Methods', 'GET, POST, DELETE, PUT'),
('Access-Control-Allow-Headers', 'Content-Type, api_key, Authorization')
]