OLD | NEW |
| (Empty) |
1 # Copyright (c) 2014, 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 # App Engine configuration, see: | |
6 # https://developers.google.com/appengine/docs/python/config/appconfig | |
7 | |
8 # The version number should be something like rSVN_REVISION. | |
9 version: remember to edit app.yaml before deploying | |
10 # This version name is used to create a new host, for example, | |
11 # http://r31824.try-dart-lang.appspot.com/, which can be tested before going | |
12 # live at http://try.dartlang.org/. This is controlled from | |
13 # https://appengine.google.com/deployment?&app_id=s~try-dart-lang | |
14 | |
15 application: try-dart-lang | |
16 runtime: python27 | |
17 api_version: 1 | |
18 threadsafe: yes | |
19 | |
20 # Set "Cache-Control" and "Expires" HTTP headers to only cache for one second. | |
21 # We do this because we frequently push new changes and rely on AppCache for | |
22 # caching. Once files are installed in AppCache, the site launches | |
23 # immediately. | |
24 # | |
25 # Problem: PageSpeed Insights doesn't realize that we use AppCache and keeps | |
26 # nagging about caching. | |
27 # Solution: Ignore its advice about "Leverage browser caching". | |
28 default_expiration: 1s | |
29 | |
30 handlers: | |
31 - url: /packages/analyzer | |
32 static_dir: packages/analyzer | |
33 secure: always | |
34 | |
35 - url: /packages/args | |
36 static_dir: packages/args | |
37 secure: always | |
38 | |
39 - url: /packages/collection | |
40 static_dir: packages/collection | |
41 secure: always | |
42 | |
43 - url: /packages/crypto | |
44 static_dir: packages/crypto | |
45 secure: always | |
46 | |
47 - url: /packages/http | |
48 static_dir: packages/http | |
49 secure: always | |
50 | |
51 - url: /packages/http_parser | |
52 static_dir: packages/http_parser | |
53 secure: always | |
54 | |
55 - url: /packages/intl | |
56 static_dir: packages/intl | |
57 secure: always | |
58 | |
59 - url: /packages/logging | |
60 static_dir: packages/logging | |
61 secure: always | |
62 | |
63 - url: /packages/math | |
64 static_dir: packages/math | |
65 secure: always | |
66 | |
67 - url: /packages/path | |
68 static_dir: packages/path | |
69 secure: always | |
70 | |
71 - url: /packages/serialization | |
72 static_dir: packages/serialization | |
73 secure: always | |
74 | |
75 - url: /packages/stack_trace | |
76 static_dir: packages/stack_trace | |
77 secure: always | |
78 | |
79 - url: /packages/string_scanner | |
80 static_dir: packages/string_scanner | |
81 secure: always | |
82 | |
83 - url: /packages/unittest | |
84 static_dir: packages/unittest | |
85 secure: always | |
86 | |
87 - url: /packages/yaml | |
88 static_dir: packages/yaml | |
89 secure: always | |
90 | |
91 - url: /favicon\.ico | |
92 static_files: favicon.ico | |
93 upload: favicon\.ico | |
94 secure: always | |
95 | |
96 - url: / | |
97 static_files: index.html | |
98 upload: index.html | |
99 secure: always | |
100 | |
101 - url: /ssl.appcache | |
102 static_files: ssl.appcache | |
103 upload: ssl.appcache | |
104 secure: always | |
105 | |
106 - url: /(.*\.(html|js|png|css|dart|json)) | |
107 static_files: \1 | |
108 upload: (.*\.(html|js|png|css|dart|json)) | |
109 secure: always | |
110 | |
111 - url: /css/fonts/fontawesome-webfont.woff | |
112 static_files: fontawesome-webfont.woff | |
113 upload: fontawesome-webfont.woff | |
114 secure: always | |
115 | |
116 libraries: | |
117 - name: webapp2 | |
118 version: "2.5.2" | |
OLD | NEW |