Skip to content

Commit

Permalink
Blen.fix deployment issue fix JavaScript files are being served with …
Browse files Browse the repository at this point in the history
…the wrong MIME type
  • Loading branch information
blenassefa2 committed Sep 26, 2024
1 parent 3b656df commit f7ad313
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@ handlers:
- url: /(.*)
static_files: dist/hacks-website/index.html
upload: dist/hacks-website/index.html
secure: always
secure: always

- url: /(.*\.js)
static_files: dist/hacks-website/\1
upload: dist/hacks-website/(.*\.js)
mime_type: application/javascript

0 comments on commit f7ad313

Please sign in to comment.