From 04fd86d97d6732342831e3cd6e91aa7d648b5381 Mon Sep 17 00:00:00 2001
From: hit-cxf <2024111082@stu.hit.edu.cn>
Date: Thu, 14 May 2026 20:20:27 +0800
Subject: [PATCH] 添加了清空缓存功能,释放用户上传的文件
---
aigc-director/aigc-claw/frontend/next.config.ts | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/aigc-director/aigc-claw/frontend/next.config.ts b/aigc-director/aigc-claw/frontend/next.config.ts
index 7202a90..bfee8a8 100644
--- a/aigc-director/aigc-claw/frontend/next.config.ts
+++ b/aigc-director/aigc-claw/frontend/next.config.ts
@@ -36,6 +36,10 @@
source: '/api/config',
destination: 'http://127.0.0.1:8000/api/config',
},
+ {
+ source: '/api/cache/:path*',
+ destination: 'http://127.0.0.1:8000/api/cache/:path*',
+ },
// 一键 pipeline API
{
source: '/api/pipelines',
--
Gitblit v1.8.0