2023-01-30 20:09:40 +07:00
|
|
|
def erpadir(err):
|
|
|
|
return f'static/error/{err}.html'
|
|
|
|
|
2022-03-16 11:06:52 +07:00
|
|
|
update = {
|
2023-01-30 20:09:40 +07:00
|
|
|
'server.socket_host' : "hostname" ,
|
|
|
|
'server.socket_port' : "port" ,
|
|
|
|
'cors.expose.on' : True ,
|
|
|
|
'tools.sessions.on' : True ,
|
|
|
|
'engine.autoreload.on' : False ,
|
|
|
|
'request.show_tracebacks' : False ,
|
|
|
|
'error_page.403' : erpadir(403) ,
|
|
|
|
'error_page.404' : erpadir(404) ,
|
|
|
|
'error_page.500' : erpadir(500) ,
|
2022-03-16 11:06:52 +07:00
|
|
|
}
|