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

Side by Side Diff: utils/apidoc/app_engine/app.yaml

Issue 10831002: serve api docs from cloud storage (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: tweaks from review Created 8 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 | utils/apidoc/app_engine/scripts/redirector.py » ('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) 2012, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2012, 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: dartlang-api 5 application: dartlang-api
6 version: 17 6 version: changeme
7 7
8 runtime: python27 8 runtime: python27
9 api_version: 1 9 api_version: 1
10 threadsafe: true 10 threadsafe: true
11 11
12 #default_expiration: "2h" 12 #default_expiration: "2h"
13 13
14 handlers: 14 handlers:
15 15
16 - url: /dom.* 16 - url: /.*
17 script: scripts.redirector.application 17 script: scripts.redirector.application
18
19 - url: /(.*\.png)
20 static_files: static/\1
21 expiration: 1d
22 upload: static/(.*\.png)
23
24 - url: /(.*\.ico)
25 static_files: static/\1
26 expiration: 7d
27 upload: static/(.*\.ico)
28
29 - url: /(.*\.html)
30 static_files: static/\1
31 expiration: 2h
32 upload: static/(.*\.html)
33
34 - url: /(.*\.css)
35 static_files: static/\1
36 expiration: 1d
37 upload: static/(.*\.css)
38
39 - url: /appcache.manifest
40 static_files: static/appcache.manifest
41 upload: static/appcache.manifest
42 mime_type: text/cache-manifest
43
44 - url: (.*)/
45 static_files: static\1/index.html
46 upload: static/index.html
47
48 - url: /
49 static_dir: static
OLDNEW
« no previous file with comments | « no previous file | utils/apidoc/app_engine/scripts/redirector.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698