复现已有算法
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"listeners": [
|
||||
{
|
||||
"address": "0.0.0.0",
|
||||
"port": 8848,
|
||||
"https": false
|
||||
}
|
||||
],
|
||||
"app": {
|
||||
"threads_num": 4,
|
||||
"document_root": "./web",
|
||||
"upload_path": "uploads",
|
||||
"client_max_body_size": "10M",
|
||||
"max_connections": 1000,
|
||||
"log": {
|
||||
"log_path": "",
|
||||
"logfile_base_name": "",
|
||||
"log_size_limit": 100000000,
|
||||
"log_level": "INFO"
|
||||
},
|
||||
"run_as_daemon": false,
|
||||
"relaunch_on_error": false,
|
||||
"static_files_cache_time": 5,
|
||||
"idle_connection_timeout": 60,
|
||||
"enable_server_header": true,
|
||||
"keepalive_timeout": 60
|
||||
},
|
||||
"cors": {
|
||||
"enabled": true,
|
||||
"allow_origins": [
|
||||
"http://localhost:5173",
|
||||
"http://localhost:8848",
|
||||
"http://127.0.0.1:8848"
|
||||
],
|
||||
"allow_methods": [
|
||||
"GET",
|
||||
"POST",
|
||||
"PUT",
|
||||
"DELETE",
|
||||
"OPTIONS"
|
||||
],
|
||||
"allow_headers": [
|
||||
"Content-Type",
|
||||
"Authorization"
|
||||
],
|
||||
"expose_headers": [
|
||||
"Content-Length"
|
||||
],
|
||||
"allow_credentials": true,
|
||||
"max_age": 3600
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user