复现已有算法

This commit is contained in:
cloud
2026-07-14 15:43:18 +08:00
parent abebd2a683
commit 50b8111fd9
860 changed files with 182250 additions and 18 deletions
+52
View File
@@ -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
}
}