更新rmbg路由前缀为/tools/rmbg

This commit is contained in:
jingrow 2026-01-02 20:04:16 +08:00
parent 46c2265ab0
commit 207731fd1e

View File

@ -9,7 +9,7 @@ class Settings(BaseSettings):
debug: bool = False debug: bool = False
# API路由配置 # API路由配置
router_prefix: str = "/rmbg" router_prefix: str = "/tools/rmbg"
file_route: str = "/file" file_route: str = "/file"
file_free_route: str = "/file/free" file_free_route: str = "/file/free"
batch_route: str = "/batch" batch_route: str = "/batch"
@ -18,9 +18,9 @@ class Settings(BaseSettings):
upload_url: str = "http://images.jingrow.com:8080/api/v1/image" upload_url: str = "http://images.jingrow.com:8080/api/v1/image"
# 图片保存配置 # 图片保存配置
save_dir: str = "/home/www/public/files" save_dir: str = "/home/1panel/www/sites/files.jingrow.com/index"
# Japi 静态资源下载URL # Japi 静态资源下载URL
download_url: str = "http://files.jingrow.com/files" download_url: str = "http://files.jingrow.com"
# Jingrow Jcloud API 配置 # Jingrow Jcloud API 配置
jingrow_api_url: str = "https://cloud.jingrow.com" jingrow_api_url: str = "https://cloud.jingrow.com"