web.url parameter deprecated?

Felix Bühler2 years ago

Hello,

I wanted to change the URL of my traccar site when receiving an email. I found some 5 year old posts about the web.url parameter and it works fine with it.
Although, the documentation doesn't mention this parameter. Is it deprecated and will be removed some day?

Anton Tananaev2 years ago

It still works and it's not deprecated.

Felix Bühler2 years ago

Thanks! So it's just forgotten in this list?
https://www.traccar.org/configuration-file/

Anton Tananaev2 years ago

Yes. We're working on a new way to automatically generate that documentation, so it hasn't really been up to date.

Felix Bühler2 years ago

Alright, thank you for your fast reply!

alirezasaberi3 months ago

I changed base URL in this way same as configuration file :

    <entry key='web.url'>base url</entry>

but it does not work...
Why????

Anton Tananaev3 months ago
  1. Have you restarted the service?
  2. What exactly is not working?
Amir3 months ago

for example i set base url with this configuration:

 <entry key='web.url'>mybaseurl</entry>

but it does not change.it is still localhost.