Skip to content

Commit 0943e81

Browse files
committed
Update ohm website gitsha
1 parent c00e2eb commit 0943e81

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

images/web/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
2828
ENV OHM_WEBSITE_URL=https://github.com/OpenHistoricalMap/ohm-website/archive/${OPENHISTORICALMAP_WEBSITE_GITSHA}.zip
2929
RUN rm -rf $workdir/* && curl -fsSL $OHM_WEBSITE_URL -o /tmp/ohm-website.zip && \
3030
unzip /tmp/ohm-website.zip -d /tmp && \

images/web/config/production.conf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,8 @@
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 />

0 commit comments

Comments
 (0)