去掉白名单装饰器的jingrow前缀

This commit is contained in:
jingrow 2025-10-29 17:46:18 +08:00
parent 46bd967786
commit aceca1e49d
3 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@ -26,7 +26,7 @@ test/
# 忽略所有 文件夹
**/frontend/public/files
**/frontend/public/files/
**/jfile/files/
**/output/
**/__pycache__/

View File

@ -284,7 +284,7 @@ export const downloadImageToLocal = async (
): Promise<{ success: boolean; local_path?: string; error?: string }> => {
try {
const response = await axios.post(
`/jingrow/jingrow.utils.fs.download_image_to_local`,
`/jingrow.utils.fs.download_image_to_local`,
{
image_url: imageUrl,
filename: filename

View File

@ -62,7 +62,7 @@ def create_app():
include_routers_from_package(app, "jingrow.api")
# 手动注册动态路由(最后注册,避免冲突)
app.include_router(router, prefix="/jingrow")
app.include_router(router)
return app