Skip to content
This repository has been archived by the owner on Oct 22, 2019. It is now read-only.

Commit

Permalink
Serve sw with max-age 0
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbenz committed Nov 6, 2018
1 parent de98a14 commit 4f2b7d2
Show file tree
Hide file tree
Showing 5 changed files with 4,413 additions and 4,691 deletions.
9 changes: 5 additions & 4 deletions app.yaml
Expand Up @@ -29,11 +29,12 @@ handlers:
script: _go_app
login: admin

- url: /sw\.js$
- url: /(sw\.js)
mime_type: text/javascript
static_files: dist/\1
upload: dist/(sw\.js)
secure: always
static_files: dist/sw.js
upload: dist/sw\.js$
expiration: 0
expiration: "0s"
http_headers:
Access-Control-Allow-Origin: "*"

Expand Down

0 comments on commit 4f2b7d2

Please sign in to comment.