fix(config, docker): update log file path and BASE_URL for consistency

- Changed log_file path in config.json to point to /root/data/logs/server.log.
- Updated BASE_URL in docker-compose.yml to use https://example.net/random-api for improved clarity and consistency.
This commit is contained in:
wood chen 2024-11-30 23:38:43 +08:00
parent 1fc1069ec1
commit 44afb8cae9
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
"storage": {
"data_dir": "/root/data",
"stats_file": "/root/data/stats.json",
"log_file": "/var/log/random-api/server.log"
"log_file": "/root/data/logs/server.log"
},
"api": {
"base_url": "",

View File

@ -8,5 +8,5 @@ services:
- ./data:/root/data
environment:
- TZ=Asia/Shanghai
- BASE_URL=https://github-file.czl.net/random-api.czl.net
- BASE_URL=https://example.net/random-api
restart: unless-stopped