Skip to content

Commit

Permalink
Fix Geoweb webmanifest Content-Type (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jusaa authored Oct 2, 2023
1 parent 2b76dba commit 720f66e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
5 changes: 4 additions & 1 deletion charts/geoweb-frontend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.0.2
version: 3.0.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "v8.0.0"

maintainers:
- name: Jusaa
9 changes: 7 additions & 2 deletions charts/geoweb-frontend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ ingress:
if ($request_uri ~* \.(json)) {
add_header Cache-Control "no-cache";
}
if ($request_uri ~* \.(woff2|svg|webmanifest)) {
if ($request_uri ~* \.(woff2|svg)) {
add_header Cache-Control "max-age=604800";
}
ingressClassName: nginx
if ($request_uri ~* \.(webmanifest)) {
more_clear_headers 'Content-Type';
add_header Content-Type "application/manifest+json";
add_header Cache-Control "max-age=604800";
}
ingressClassName: nginx

0 comments on commit 720f66e

Please sign in to comment.