File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ RUN apt-get update && \
2424 && apt-get clean && rm -rf /var/lib/apt/lists/*
2525
2626# Download OHM Website using gitsha, faster than cloning
27- ENV OPENHISTORICALMAP_WEBSITE_GITSHA=0feb1c3337967a3154234d8b7cb1d644094dbc19
27+ ENV OPENHISTORICALMAP_WEBSITE_GITSHA=5f96c54eca693db48ad272b1be32d2a2f90a796b
2828ENV OHM_WEBSITE_URL=https://github.com/OpenHistoricalMap/ohm-website/archive/${OPENHISTORICALMAP_WEBSITE_GITSHA}.zip
2929RUN rm -rf $workdir/* && curl -fsSL $OHM_WEBSITE_URL -o /tmp/ohm-website.zip && \
3030 unzip /tmp/ohm-website.zip -d /tmp && \
Original file line number Diff line number Diff line change 1717 RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
1818
1919 # Redirect to www openhistoricalmap.org
20- # Skip /map-styles so the non-www host serves the files directly with their
21- # CORS headers. A 301 redirect drops Access-Control-Allow-Origin, which breaks
22- # cross-origin style fetches (e.g. the map-style minimaps).
2320 RewriteCond %{HTTP_HOST} =openhistoricalmap.org
2421 RewriteCond %{HTTP_HOST} !^www\. [NC]
25- RewriteCond %{REQUEST_URI} !^/map-styles/
2622 RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
2723
2824 <Location />
You can’t perform that action at this time.
0 commit comments