fix:修复端口设置

This commit is contained in:
ZhangYonghao
2026-03-21 20:42:47 +08:00
parent 10d463a55f
commit eaefc318a6
4 changed files with 6 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
APP_NAME="HTML Knowledge API"
API_PREFIX="/api"
PUBLIC_BASE_URL="http://localhost:8000"
ALLOWED_ORIGINS=["http://localhost:3000"]
PUBLIC_BASE_URL="http://localhost:8009"
ALLOWED_ORIGINS=["*"]
HTML_STORAGE_DIR="./data/generated_html"
DEFAULT_RETENTION_DAYS=7
MAX_RETENTION_DAYS=30

View File

@@ -1,7 +1,7 @@
APP_NAME="HTML Knowledge API"
API_PREFIX="/api"
PUBLIC_BASE_URL="http://localhost:8000"
ALLOWED_ORIGINS=["http://localhost:3000"]
PUBLIC_BASE_URL="http://localhost:8009"
ALLOWED_ORIGINS=["*"]
HTML_STORAGE_DIR="./data/generated_html"
DEFAULT_RETENTION_DAYS=7
MAX_RETENTION_DAYS=30