openmove / odh-mentor-otp

https://mobility.meran.eu
1 stars 3 forks source link

configure CORS in otp #33

Closed ghost closed 4 years ago

ghost commented 4 years ago
zabuTNT commented 4 years ago

It is not a problem of OTP because otp accept all: https://github.com/opentripplanner/OpenTripPlanner/blob/a499a4f2f3529c53a7859a985b7c1a61033b71dc/src/main/java/org/opentripplanner/standalone/server/CorsFilter.java

I think that the problem is on the hosting machine, maybe there is a proxy in between that rewrite the headers?

I have not problem with this: https://journey.opendatahub.testingmachine.eu/