CORS (Cross-Origin Resource Sharing) Restrictions

Amir 2 years ago

how to configure CORSE in web server? what is the default?

Anton Tananaev 2 years ago
Amir 2 years ago

set these configuration in traccar.xml? for example <entry key='web.origin'>www.example.com</entry> ?

Anton Tananaev 2 years ago
Anton Tananaev 2 years ago
Amir 2 years ago

is this right?

<entry key="Access-Control-Allow-Origin">*</entry>

i placed in traccar.xml file

Anton Tananaev 2 years ago

Obviously not.

Amir 2 years ago

how we must configure?can you make an example for corse?