| OLD | NEW |
| 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 3 # BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 application: google.com:dartperf | 5 application: google.com:dartperf |
| 6 version: 1 | 6 version: 1 |
| 7 runtime: python | 7 runtime: python |
| 8 api_version: 1 | 8 api_version: 1 |
| 9 | 9 |
| 10 handlers: | 10 handlers: |
| 11 - url: /(.*\.html) | 11 - url: /(.*\.html) |
| 12 mime_type: text/html | 12 mime_type: text/html |
| 13 static_files: static/\1 | 13 static_files: static/\1 |
| 14 upload: static/(.*\.html) | 14 upload: static/(.*\.html) |
| 15 | 15 |
| 16 - url: /(.*\.js) | 16 - url: /(.*\.js) |
| 17 mime_type: text/javascript | 17 mime_type: text/javascript |
| 18 static_files: static/\1 | 18 static_files: static/\1 |
| 19 upload: static/(.*\.js) | 19 upload: static/(.*\.js) |
| 20 | 20 |
| 21 - url: /(.*\.json) | 21 - url: /(.*\.json) |
| 22 mime_type: application/json | 22 mime_type: application/json |
| 23 static_files: static/\1 | 23 static_files: static/\1 |
| 24 upload: static/(.*\.json) | 24 upload: static/(.*\.json) |
| 25 expiration: "1h" | |
| 26 | 25 |
| 27 # image files | 26 # image files |
| 28 - url: /(.*\.(bmp|gif|ico|jpeg|jpg|png)) | 27 - url: /(.*\.(bmp|gif|ico|jpeg|jpg|png)) |
| 29 static_files: static/\1 | 28 static_files: static/\1 |
| 30 upload: static/(.*\.(bmp|gif|ico|jpeg|jpg|png)) | 29 upload: static/(.*\.(bmp|gif|ico|jpeg|jpg|png)) |
| 31 | 30 |
| 32 # index files | 31 # index files |
| 33 - url: /(.+)/ | 32 - url: /(.+)/ |
| 34 static_files: static/\1/index.html | 33 static_files: static/\1/index.html |
| 35 upload: static/(.+)/index.html | 34 upload: static/(.+)/index.html |
| 36 expiration: "15m" | 35 expiration: "15m" |
| 37 | 36 |
| 38 - url: /(.+) | 37 - url: /(.+) |
| 39 static_files: static/\1/index.html | 38 static_files: static/\1/index.html |
| 40 upload: static/(.+)/index.html | 39 upload: static/(.+)/index.html |
| 41 expiration: "15m" | 40 expiration: "15m" |
| 42 | 41 |
| 42 - url: /graphs |
| 43 static_dir: static/graphs |
| 44 |
| 45 - url: /graphs/(.*) |
| 46 static_files: static/graphs/\1 |
| 47 upload: static/graphs/(.*) |
| 48 |
| 43 # site root | 49 # site root |
| 44 - url: / | 50 - url: / |
| 45 static_files: static/index.html | 51 static_files: static/index.html |
| 46 upload: static/index.html | 52 upload: static/index.html |
| 47 expiration: "15m" | 53 expiration: "15m" |
| OLD | NEW |