From cbc230c091b82205d962d7f2d6fbcbd06a39c57c Mon Sep 17 00:00:00 2001 From: junjun Date: Mon, 9 Dec 2024 10:20:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=9C=AC=E5=9C=B0?= =?UTF-8?q?=E8=B5=84=E6=BA=90=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dataease/constant/StaticResourceConstants.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sdk/common/src/main/java/io/dataease/constant/StaticResourceConstants.java b/sdk/common/src/main/java/io/dataease/constant/StaticResourceConstants.java index 6f35f38929..0411acb80f 100644 --- a/sdk/common/src/main/java/io/dataease/constant/StaticResourceConstants.java +++ b/sdk/common/src/main/java/io/dataease/constant/StaticResourceConstants.java @@ -11,15 +11,15 @@ public class StaticResourceConstants { public static final String FILE_SEPARATOR = File.separator; - public static final String USER_HOME = "/opt/dataease2.0/data".replaceAll("/",FILE_SEPARATOR); + public static final String USER_HOME = "/opt/dataease2.0/data"; public static String WORK_DIR = ensureSuffix(USER_HOME, FILE_SEPARATOR) + "static-resource" + FILE_SEPARATOR; - public static String MAP_DIR = ensureSuffix(USER_HOME, FILE_SEPARATOR) + "map"; - public static String CUSTOM_MAP_DIR = ensureSuffix(USER_HOME, FILE_SEPARATOR) + "geo"; - public static String APPEARANCE_DIR = ensureSuffix(USER_HOME, FILE_SEPARATOR) + "appearance"; - public static String REPORT_DIR = ensureSuffix(USER_HOME, FILE_SEPARATOR) + "report"; - public static String PLUGIN_DIR = ensureSuffix(USER_HOME, FILE_SEPARATOR) + "plugin"; + public static String MAP_DIR = ensureSuffix(USER_HOME, FILE_SEPARATOR) + "map"; + public static String CUSTOM_MAP_DIR = ensureSuffix(USER_HOME, FILE_SEPARATOR) + "geo"; + public static String APPEARANCE_DIR = ensureSuffix(USER_HOME, FILE_SEPARATOR) + "appearance"; + public static String REPORT_DIR = ensureSuffix(USER_HOME, FILE_SEPARATOR) + "report"; + public static String PLUGIN_DIR = ensureSuffix(USER_HOME, FILE_SEPARATOR) + "plugin"; public static String MAP_URL = "/map"; public static String GEO_URL = "/geo";