You can change it in the configuration file.
HI Anton, Please is there any documentation to know how it can be changed from the configuration file, i seem not to be able to understand how.
<entry key='web.path'>./legacy</entry>
Thank you so much Mr. Tananaev.
You are acting like a life saver for many people not to be disappointed and being hopeful instead.
I look forward to be a helper like you for others as soon as I can.
Thank you very much, apart from selecting the default ones.
Can you also go to the other one by putting the full path?
Is there a way before I can use both
It is possible, but you would need to recompile the modern app to use the path.
Hi everyone,
for some reason I need to use both at the same time.
any idea how may I do that?
Sorry Mr.Tananaev,
You mean I should run "npm run build" again if I change <entry key='web.path'>./legacy</entry>
to <entry key='web.path'>./modern</entry>
?
As Persia.Dev says, What if the users need them both to use?
Could you help please?
You don't need to recompile the app if you just want to change the config. You have to recompile if you want to use the app in a subfolder.
I work with the newest commit every day and I prefer working with Modern app.
But still I have no idea, how to set the app for both (Legacy and Modern), to be able switching to one another as it was by the end of July.
When I install my custom installer from source code I can only see one of them after running, but I wonder how to set back the way of switching to the other app when I put back the switching icon on the login page.
Sorry for asking again, Is it a good idea if I handle the ability of switching with your newest commit?
If it is, do I have to bring back "npm run build-release" for modern or you suggest me to do something else?
I appreciate your time Sir, and I hope you forgive me for my asking much.
Actually it might be more complicated. You might need this as well:
Thanks again for helping me Sir.
Best Regards
Amending
<entry key='web.path'>./legacy</entry>
to /opt/traccar/conf/traccar.xml
didn't do the trick for me; the web interface remains modern.
What did I miss?
Thank you so much for such a grate App you have made, Dear Developers,
I wish you would have kept switching between modern and legacy web apps the same way as it had been before this version.
or giving a chance to choose either ways to setup app on server, clicking on the icon at the corner of login page or setting the key in the configuration file.
The best regards