public IP of $webUrl

Ahmad4 years ago

I am using Google cloud server to run traccar.

The notification emails of events uses a link by the local IP of the server (http://10.128.0.17/?eventId=475), not the public one.

I can hard code it in the template instead of $webUrl variable, but that would a problem if I want to reinstall it and Google give me a new IP.

Any suggestions how to include the public IP in the template?

Anton Tananaev4 years ago

You should just get a domain name.