Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: dart/site/try/app.yaml

Issue 486643002: Remove nossl hack, as it isn't needed. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | dart/site/try/build_try.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 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 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 # App Engine configuration, see: 5 # App Engine configuration, see:
6 # https://developers.google.com/appengine/docs/python/config/appconfig 6 # https://developers.google.com/appengine/docs/python/config/appconfig
7 7
8 # The version number should be something like rSVN_REVISION. 8 # The version number should be something like rSVN_REVISION.
9 version: remember to edit app.yaml before deploying 9 version: remember to edit app.yaml before deploying
10 # This version name is used to create a new host, for example, 10 # This version name is used to create a new host, for example,
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 - url: /favicon\.ico 95 - url: /favicon\.ico
96 static_files: favicon.ico 96 static_files: favicon.ico
97 upload: favicon\.ico 97 upload: favicon\.ico
98 secure: always 98 secure: always
99 99
100 - url: / 100 - url: /
101 static_files: index.html 101 static_files: index.html
102 upload: index.html 102 upload: index.html
103 secure: always 103 secure: always
104 104
105 # The nossl file below help work around bugs/features in interaction between
106 # AppEngine and AppCache. When a return user goes to http://try.dartlang.org/
107 # (no SSL), AppCache will serve index.html from cache, try to fetch the old
108 # manifest (nossl.appcache) and the files listed in the manifest. In additation
109 # the files listed in the manifest, it will also fetch index.html, as it is the
110 # master. However, we want index.html to be redirected to the SSL version, and
111 # AppCache sees this redirection as a network error. When an error occurs,
112 # AppCache will keep serving the old page. So we configure nossl.appcache to
113 # provide fallbacks for index.html and leap.dart.js. The fallback for
114 # leap.dart.js is nossl.js which will take care of redirecting to
115 # https://try.dartlang.org/ (with SSL) using JavaScript. Unfortunately, Chrome
116 # seems to keep the old version of index.html cached indefinitely. The only way
117 # to avoid that appears to serve up a different index.html depending on if it
118 # is a secure connection or not. This would require a Python script, and
119 # something we may consider implementing in the future.
120 - url: /nossl.appcache
121 static_files: nossl.appcache
122 upload: nossl.appcache
123 secure: optional
124
125 - url: /nossl.js
126 static_files: nossl.js
127 upload: nossl.js
128 secure: optional
129
130 - url: /nossl.html
131 static_files: nossl.html
132 upload: nossl.html
133 secure: optional
134
135 - url: /ssl.appcache 105 - url: /ssl.appcache
136 static_files: ssl.appcache 106 static_files: ssl.appcache
137 upload: ssl.appcache 107 upload: ssl.appcache
138 secure: always 108 secure: always
139 109
140 - url: /(.*\.(html|js|png|css|dart|json)) 110 - url: /(.*\.(html|js|png|css|dart|json))
141 static_files: \1 111 static_files: \1
142 upload: (.*\.(html|js|png|css|dart|json)) 112 upload: (.*\.(html|js|png|css|dart|json))
143 secure: always 113 secure: always
144 114
145 - url: /css/fonts/fontawesome-webfont.woff 115 - url: /css/fonts/fontawesome-webfont.woff
146 static_files: fontawesome-webfont.woff 116 static_files: fontawesome-webfont.woff
147 upload: fontawesome-webfont.woff 117 upload: fontawesome-webfont.woff
148 secure: always 118 secure: always
149 119
150 libraries: 120 libraries:
151 - name: webapp2 121 - name: webapp2
152 version: "2.5.2" 122 version: "2.5.2"
OLDNEW
« no previous file with comments | « no previous file | dart/site/try/build_try.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698