fix bug webserver
This commit is contained in:
@@ -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" + "/" +
|
||||||
|
|||||||
Reference in New Issue
Block a user