mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 18:08:07 +08:00
refactor(asset-storage): fix security problems
This commit is contained in:
@ -14,12 +14,13 @@ api = ExternalApi(
|
||||
|
||||
files_ns = Namespace("files", description="File operations", path="/")
|
||||
|
||||
from . import image_preview, storage_download, tool_files, upload
|
||||
from . import app_assets_download, image_preview, storage_download, tool_files, upload
|
||||
|
||||
api.add_namespace(files_ns)
|
||||
|
||||
__all__ = [
|
||||
"api",
|
||||
"app_assets_download",
|
||||
"bp",
|
||||
"files_ns",
|
||||
"image_preview",
|
||||
|
||||
Reference in New Issue
Block a user