Modifications for appengine

This commit is contained in:
Ian Gulliver
2014-06-04 21:44:18 -07:00
parent 37dc4555b7
commit 47e174d0e7
2 changed files with 41 additions and 1 deletions

40
app.yaml Normal file
View File

@@ -0,0 +1,40 @@
runtime: python27
version: 1
api_version: 1
application: cosmopolite-root
threadsafe: true
handlers:
- url: /
static_files: index.html
upload: index.html
secure: always
http_headers:
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000; includeSubDomains
- url: /tutorial
static_files: tutorial.html
upload: tutorial.html
secure: always
http_headers:
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000; includeSubDomains
- url: /images
static_dir: images
secure: always
http_headers:
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000; includeSubDomains
- url: /stylesheets
static_dir: stylesheets
secure: always
http_headers:
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000; includeSubDomains

View File

@@ -30,7 +30,7 @@
<h3>Dig in</h3>
<ul>
<li style="font-weight: bold;">Read <a href="tutorial.html">the tutorial</a></li>
<li style="font-weight: bold;">Read <a href="tutorial">the tutorial</a></li>
<li style="font-weight: bold;">Try out <a href="https://playground.cosmopolite.org/cosmopolite/static/debug.html">the playground</a></li>
</ul>