1
0

fix bug webserver

This commit is contained in:
Jose
2025-03-12 02:53:25 +01:00
parent b477c3c8d6
commit 2d31866e0e

View File

@@ -8,7 +8,7 @@ public class Constants {
public static final String API_PREFIX = "/api/v1"; public static final String API_PREFIX = "/api/v1";
public static final String HOME_DIR = SystemInfo.getOS() == OSType.WINDOWS ? public static final String HOME_DIR = SystemInfo.getOS() == OSType.WINDOWS ?
"C:/Users/" + System.getProperty("user.name") + "/" : "C:/Users/" + System.getProperty("user.name") + "/" :
System.getProperty("user.home"); System.getProperty("user.home") + "/";
public static final String BASE_DIR = HOME_DIR + public static final String BASE_DIR = HOME_DIR +
(SystemInfo.getOS() == OSType.WINDOWS ? ".contaminus" : (SystemInfo.getOS() == OSType.WINDOWS ? ".contaminus" :
SystemInfo.getOS() == OSType.LINUX ? ".config" + "/" + SystemInfo.getOS() == OSType.LINUX ? ".config" + "/" +