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:dartperf | |
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: /(.*\.txt) | |
22 mime_type: text/html | |
23 static_files: static/\1 | |
24 upload: static/(.*\.txt) | |
25 | |
26 - url: /(.*\.json) | |
27 mime_type: application/json | |
28 static_files: static/\1 | |
29 upload: static/(.*\.json) | |
30 | |
31 # image files | |
32 - url: /(.*\.(bmp|gif|ico|jpeg|jpg|png)) | |
33 static_files: static/\1 | |
34 upload: static/(.*\.(bmp|gif|ico|jpeg|jpg|png)) | |
35 | |
36 # index files | |
37 - url: /(.+)/ | |
38 static_files: static/\1/index.html | |
39 upload: static/(.+)/index.html | |
40 expiration: "15m" | |
41 | |
42 - url: /(.+) | |
43 static_files: static/\1/index.html | |
44 upload: static/(.+)/index.html | |
45 expiration: "15m" | |
46 | |
47 - url: /graphs | |
48 static_dir: static/graphs | |
49 | |
50 - url: /graphs/(.*) | |
51 static_files: static/graphs/\1 | |
52 upload: static/graphs/(.*) | |
53 | |
54 - url: /data/browser-perf/macos/(.*) | |
55 static_files: static/data/browser-perf/macos/\1 | |
56 upload: static/data/browser-perf/macos/(.*) | |
57 | |
58 - url: /data/code-time-size/macos/(.*) | |
59 static_files: static/data/code-time-size/macos/\1 | |
60 upload: static/data/code-time-size/macos/(.*) | |
61 | |
62 - url: /data/cl-results/macos/(.*) | |
63 static_files: static/data/cl-results/macos/\1 | |
64 upload: static/data/cl-results/macos/(.*) | |
65 | |
66 # site root | |
67 - url: / | |
68 static_files: static/index.html | |
69 upload: static/index.html | |
70 expiration: "15m" | |
OLD | NEW |