You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possible solutions: we can either add redirects/rewrites to img for each of user/img, trip/img, airport/img, and airline/img, or hack the minified JS to make the paths absolute.
I spent some time trying to hack this into the nginx config, but this is not working for reasons I don't understand. Fixes or better ideas?
Until a solution is implemented, could simple symbolic links be added on the server for each of the img subdirectories in user, trip, airport, and airline? This would at least allow those images to appear on the site.
If you browse to a subpage like https://openflights.org/airport/SIN or https://openflights.org/user/jpatokal, the images for the OpenLayers controls don't load properly:
The paths appear to be hardcoded into
js/OpenLayers.js
as relative paths (img/north-mini.png
etc), so it's trying to load things like https://openflights.org/airport/img/zoom-minus-mini.png and failing.Possible solutions: we can either add redirects/rewrites to
img
for each ofuser/img
,trip/img
,airport/img
, andairline/img
, or hack the minified JS to make the paths absolute.I spent some time trying to hack this into the nginx config, but this is not working for reasons I don't understand. Fixes or better ideas?
The text was updated successfully, but these errors were encountered: