Compare commits

...

2 Commits

Author SHA1 Message Date
aceca1e49d 去掉白名单装饰器的jingrow前缀 2025-10-29 17:46:18 +08:00
46bd967786 chore: stop tracking frontend/public/files 2025-10-29 17:44:45 +08:00
7 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__/

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 369 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

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