Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 2 # for details. All rights reserved. Use of this source code is governed by a | |
| 3 # BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 application: google.com:emily | |
|
Siggi Cherem (dart-lang)
2011/12/09 01:00:17
maybe you'd like a more generic name :)
| |
| 6 version: 1 | |
| 7 runtime: python | |
| 8 api_version: 1 | |
| 9 | |
| 10 handlers: | |
| 11 - url: /(.*\.html) | |
| 12 mime_type: text/html | |
| 13 static_files: static/\1 | |
| 14 upload: static/(.*\.html) | |
| 15 | |
| 16 - url: /(.*\.js) | |
| 17 mime_type: text/javascript | |
| 18 static_files: static/\1 | |
| 19 upload: static/(.*\.js) | |
| 20 | |
| 21 - url: /(.*\.json) | |
| 22 mime_type: application/json | |
| 23 static_files: static/\1 | |
| 24 upload: static/(.*\.json) | |
| 25 expiration: "1h" | |
| 26 | |
| 27 # image files | |
| 28 - url: /(.*\.(bmp|gif|ico|jpeg|jpg|png)) | |
| 29 static_files: static/\1 | |
| 30 upload: static/(.*\.(bmp|gif|ico|jpeg|jpg|png)) | |
| 31 | |
| 32 # index files | |
| 33 - url: /(.+)/ | |
| 34 static_files: static/\1/index.html | |
| 35 upload: static/(.+)/index.html | |
| 36 expiration: "15m" | |
| 37 | |
| 38 - url: /(.+) | |
| 39 static_files: static/\1/index.html | |
| 40 upload: static/(.+)/index.html | |
| 41 expiration: "15m" | |
| 42 | |
| 43 # site root | |
| 44 - url: / | |
| 45 static_files: static/index.html | |
| 46 upload: static/index.html | |
| 47 expiration: "15m" | |
| OLD | NEW |