修复bug

This commit is contained in:
pan.wl.2
2024-11-14 15:05:18 +08:00
parent a37ef07f90
commit 5818ee82ae
2 changed files with 4 additions and 4 deletions

View File

@@ -37,9 +37,9 @@ public class UrlUtils {
return RequestUtils.uri() + url;
}
// if (url.startsWith("//*adminapi/")) {
// return RequestUtils.uri() + url.replace("/adminapi/", "/api/");
// }*/
if (url.startsWith("/adminapi/")) {
return RequestUtils.uri() + url.replace("/adminapi/", "/api/");
}
String engine = ConfigUtils.get("storage", "default", "local");
engine = engine.equals("") ? "local" : engine;