pelle / talk.org
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
d6e2c96
commit d6e2c965046174489aadf649dc90074c677b43fd
tree 449c590de57c383459bd23155b25369e2ea1293a
parent 1f3470eb5bc9e4d4676bfb11ff72d107625b6c35
tree 449c590de57c383459bd23155b25369e2ea1293a
parent 1f3470eb5bc9e4d4676bfb11ff72d107625b6c35
talk.org / app.yaml
| b02e0049 » | pelle | 2008-06-06 | 1 | application: talk-org | |
| 2 | version: 1 | ||||
| 3 | runtime: python | ||||
| 4 | api_version: 1 | ||||
| 5 | |||||
| 6 | handlers: | ||||
| 7 | |||||
| 8 | # If we match a version string, map to a static file | ||||
| 9 | # and also send a far-future expires header for caching that version. | ||||
| 10 | # i.e /js/talk.1.24.js will send down the contents of /static/js/talk.js | ||||
| 11 | # but with an Expires header of +10 years from today. | ||||
| 12 | - url: /(javascripts|stylesheets|images)/(.+)\.\d+\.\d+\.(js|css|png|gif|jpg) | ||||
| 13 | static_files: static/\1/\2.\3 | ||||
| 14 | upload: static/(javascripts|stylesheets|images)/(.+)\.\d+\.\d+\.(js|css|png|gif|jpg) | ||||
| 15 | expiration: '3650d' | ||||
| 16 | |||||
| 17 | # Default static content url catches those w/o versions in their names. | ||||
| 18 | - url: /(javascripts|stylesheets|images)/(.*\.(js|css|png|gif|jpg)) | ||||
| 19 | static_files: static/\1/\2 | ||||
| 20 | upload: static/(javascripts|stylesheets|images)/(.*\.(js|css|png|gif|jpg)) | ||||
| 21 | |||||
| 6211e4d8 » | pelle | 2008-06-08 | 22 | # Top level icons | |
| b02e0049 » | pelle | 2008-06-06 | 23 | - url: /favicon.ico | |
| 24 | static_files: static/favicon.ico | ||||
| 25 | upload: static/favicon.ico | ||||
| 26 | |||||
| 6211e4d8 » | pelle | 2008-06-08 | 27 | - url: /apple-touch-icon.png | |
| 28 | static_files: static/apple-touch-icon.png | ||||
| 29 | upload: static/apple-touch-icon.png | ||||
| 30 | |||||
| b02e0049 » | pelle | 2008-06-06 | 31 | # Pass everything else to the django bootstrapper. | |
| 32 | - url: /.* | ||||
| 33 | script: django_bootstrap.py | ||||
