Skip to content

Commit

Permalink
h2 push some resources
Browse files Browse the repository at this point in the history
  • Loading branch information
ebidel committed Nov 24, 2015
1 parent f00cfc2 commit 183337a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,27 @@ handlers:

- url: /bower_components
static_dir: bower_components
secure: always

- url: /data
static_dir: data
secure: always

- url: /images
static_dir: images
secure: always

- url: /(.*).(html|js|json|css)
static_files: \1.\2
upload: (.*)\.(html|js|json|css)
secure: always

- url: /$
static_files: index.html
upload: index\.html
#http_headers:
# Access-Control-Allow-Origin: "*"
http_headers:
Link: '</elements/elements.js>; rel=preload; as=script, </scripts/bundle.js>; rel=preload; as=script, </styles/app.css>; rel=preload; as=style'
# Access-Control-Allow-Origin: "*"
secure: always

skip_files:
Expand Down

0 comments on commit 183337a

Please sign in to comment.