Parallel Web apps

Dr Panos4 years ago

Hello,
I am using a custom UI for traccar. My question is what is the easiest way to be able to have both web apps runing in parallel.
I mean subfolder ow something.
I can see the new version boots the new web app from /web/modern. I tried the same, to put the old app inside the new but not working properly

Anton Tananaev4 years ago

You can try hosting it on Apache and proxying API calls to Traccar.

Dr Panos4 years ago

Find an easiest way.
Just put the old web folder inside the new. Change all the values from app.min.js /api to http://yourdomain.com/api and websocket from pathname+'api/socket') to /api/socket
And then access from yourdomain.com/"foldername"