Skip to content

Commit

Permalink
Blen.fix deployment issue fix css and other files are being served wi…
Browse files Browse the repository at this point in the history
…th the wrong MIME type avoid catch-all handler
  • Loading branch information
blenassefa2 committed Sep 26, 2024
1 parent 2f3fcab commit 2316e04
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ handlers:
upload: dist/hacks-website/(.*\.(png|jpg|gif|ico))
mime_type: image/png

- url: /(.*\.(ttf|woff|woff2|eot))
static_files: dist/hacks-website/\1
upload: dist/hacks-website/(.*\.(ttf|woff|woff2|eot))
mime_type: application/font-woff

- url: /(.*\.svg)
static_files: dist/hacks-website/\1
upload: dist/hacks-website/(.*\.svg)
mime_type: image/svg+xml

- url: /(.*)
static_files: dist/hacks-website/index.html
upload: dist/hacks-website/index.html
Expand Down

0 comments on commit 2316e04

Please sign in to comment.