aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-07-31 07:16:27 -0700
committerAnton Tananaev <anton@traccar.org>2022-07-31 07:16:27 -0700
commit346441e52256bca70b88dc6adad6bd3aa97da2a1 (patch)
tree4cf1ffff60e780ebe1dc0e11a55474196bfddcd9
parentfd221e21f21e04132742e34056db696b6156e5a2 (diff)
downloadtrackermap-server-346441e52256bca70b88dc6adad6bd3aa97da2a1.tar.gz
trackermap-server-346441e52256bca70b88dc6adad6bd3aa97da2a1.tar.bz2
trackermap-server-346441e52256bca70b88dc6adad6bd3aa97da2a1.zip
Split web paths
-rw-r--r--setup/default.xml2
-rwxr-xr-xsetup/package.sh5
2 files changed, 4 insertions, 3 deletions
diff --git a/setup/default.xml b/setup/default.xml
index 62494f814..0abc96431 100644
--- a/setup/default.xml
+++ b/setup/default.xml
@@ -11,7 +11,7 @@
-->
<entry key='web.port'>8082</entry>
- <entry key='web.path'>./web</entry>
+ <entry key='web.path'>./modern</entry>
<entry key='web.sanitize'>false</entry>
<entry key='web.persistSession'>false</entry>
diff --git a/setup/package.sh b/setup/package.sh
index e5f976b79..40dac475d 100755
--- a/setup/package.sh
+++ b/setup/package.sh
@@ -81,13 +81,14 @@ else
fi
prepare () {
- mkdir -p out/{conf,data,lib,logs,web,schema,templates}
+ mkdir -p out/{conf,data,lib,logs,legacy,modern,schema,templates}
cp ../target/tracker-server.jar out
cp ../target/lib/* out/lib
cp ../schema/* out/schema
cp -r ../templates/* out/templates
- cp -r ../traccar-web/web/* out/web
+ cp -r ../traccar-web/web/* out/legacy
+ cp -r ../traccar-web/modern/build/* out/modern
cp default.xml out/conf
cp traccar.xml out/conf