Skip to content

Commit

Permalink
Handle jpeg (#19)
Browse files Browse the repository at this point in the history
* Handle jpeg

* Fallback
  • Loading branch information
JustinDFuller authored Jan 10, 2024
1 parent e9b68e9 commit 7f5db45
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .appengine/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ handlers:
static_dir: .build/image
secure: always

- url: /(.*\.(gif|png|jpg|ico|svg))$
- url: /(.*\.(gif|png|jpg|jpeg|ico|svg))$
static_files: ./build/image/\1
upload: ./build/image/.*\.(gif|png|jpg|ico|svg)$
upload: ./build/image/.*\.(gif|png|jpg|jpeg|ico|svg)$

- url: /index.xml
static_files: .routes/index.xml
Expand Down Expand Up @@ -182,3 +182,10 @@ handlers:
secure: always
http_headers:
Content-Type: text/html; charset=utf-8

- url: /.*
static_files: .build/index.html
upload: .build/index.html
secure: always
http_headers:
Content-Type: text/html; charset=utf-8

0 comments on commit 7f5db45

Please sign in to comment.