Files
sdk/tools/testing/perf_testing/appengine/app.yaml
T
2012-01-03 23:42:24 +00:00

54 lines
1.2 KiB
YAML

# Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
application: google.com:dartperf
version: 1
runtime: python
api_version: 1
handlers:
- url: /(.*\.html)
mime_type: text/html
static_files: static/\1
upload: static/(.*\.html)
- url: /(.*\.js)
mime_type: text/javascript
static_files: static/\1
upload: static/(.*\.js)
- url: /(.*\.json)
mime_type: application/json
static_files: static/\1
upload: static/(.*\.json)
# image files
- url: /(.*\.(bmp|gif|ico|jpeg|jpg|png))
static_files: static/\1
upload: static/(.*\.(bmp|gif|ico|jpeg|jpg|png))
# index files
- url: /(.+)/
static_files: static/\1/index.html
upload: static/(.+)/index.html
expiration: "15m"
- url: /(.+)
static_files: static/\1/index.html
upload: static/(.+)/index.html
expiration: "15m"
- url: /graphs
static_dir: static/graphs
- url: /graphs/(.*)
static_files: static/graphs/\1
upload: static/graphs/(.*)
# site root
- url: /
static_files: static/index.html
upload: static/index.html
expiration: "15m"