mirror of
https://github.com/google/blockly.git
synced 2026-01-06 16:40:07 +01:00
112 lines
2.6 KiB
YAML
112 lines
2.6 KiB
YAML
application: blockly-demo
|
|
version: 1
|
|
runtime: python27
|
|
api_version: 1
|
|
threadsafe: no
|
|
|
|
handlers:
|
|
# Redirect obsolete URLs.
|
|
# Blockly files moved from /blockly to /static on 5 Dec 2012.
|
|
- url: /blockly/.*
|
|
static_files: redirect.html
|
|
upload: redirect.html
|
|
# Code, Maze and Turtle moved from demos to apps on 29 Dec 2012.
|
|
- url: /static/demos/(code|maze|turtle)/.*
|
|
static_files: redirect.html
|
|
upload: redirect.html
|
|
# Vietnamese apps moved from vn to vi on 9 Jun 2012.
|
|
- url: /static/apps/.+/vn\.html
|
|
static_files: redirect.html
|
|
upload: redirect.html
|
|
# Code moved to index.html on 7 Aug 2013.
|
|
- url: /static/apps/code/code\.html
|
|
static_files: redirect.html
|
|
upload: redirect.html
|
|
# Code became language-agnostic on 20 Jul 2013.
|
|
- url: /static/apps/code/(de|en|hu|vi|zh_tw)\.html
|
|
static_files: redirect.html
|
|
upload: redirect.html
|
|
# Puzzle moved to Blockly Games on 15 Oct 2014.
|
|
- url: /static/apps/puzzle/.*
|
|
static_files: redirect.html
|
|
upload: redirect.html
|
|
# Maze moved to Blockly Games on 10 Nov 2014.
|
|
- url: /static/apps/maze/.*
|
|
static_files: redirect.html
|
|
upload: redirect.html
|
|
# Turtle moved to Blockly Games on 10 Nov 2014.
|
|
- url: /static/apps/turtle/.*
|
|
static_files: redirect.html
|
|
upload: redirect.html
|
|
# Graph moved from apps to demos on 10 Nov 2014.
|
|
- url: /static/apps/graph/.*
|
|
static_files: redirect.html
|
|
upload: redirect.html
|
|
# Plane moved from apps to demos on 13 Nov 2014.
|
|
- url: /static/apps/plane/.*
|
|
static_files: redirect.html
|
|
upload: redirect.html
|
|
# Block Factory moved from apps to demos on 16 Oct 2014.
|
|
- url: /static/apps/blockfactory/.*
|
|
static_files: redirect.html
|
|
upload: redirect.html
|
|
|
|
|
|
# Storage API.
|
|
- url: /storage
|
|
script: storage.py
|
|
secure: always
|
|
- url: /storage\.js
|
|
static_files: storage.js
|
|
upload: storage\.js
|
|
secure: always
|
|
|
|
# Blockly files.
|
|
- url: /static
|
|
static_dir: static
|
|
secure: always
|
|
|
|
# Closure library for uncompiled Blockly.
|
|
- url: /closure-library
|
|
static_dir: closure-library
|
|
secure: always
|
|
|
|
# Redirect for root directory.
|
|
- url: /
|
|
script: index_redirect.py
|
|
secure: always
|
|
|
|
# Favicon.
|
|
- url: /favicon\.ico
|
|
static_files: favicon.ico
|
|
upload: favicon\.ico
|
|
secure: always
|
|
|
|
# Apple icon.
|
|
- url: /apple-touch-icon\.png
|
|
static_files: apple-touch-icon.png
|
|
upload: apple-touch-icon\.png
|
|
secure: always
|
|
|
|
# robot.txt
|
|
- url: /robots\.txt
|
|
static_files: robots.txt
|
|
upload: robots\.txt
|
|
secure: always
|
|
|
|
|
|
skip_files:
|
|
# App Engine default patterns.
|
|
- ^(.*/)?#.*#$
|
|
- ^(.*/)?.*~$
|
|
- ^(.*/)?.*\.py[co]$
|
|
- ^(.*/)?.*/RCS/.*$
|
|
- ^(.*/)?\..*$
|
|
# Custom skip patterns.
|
|
- ^static/appengine/.*$
|
|
- ^static/apps/json/.*$
|
|
- ^static/apps/_soy/.+\.jar$
|
|
- ^static/i18n/.*$
|
|
- ^static/msg/json/.*$
|
|
- ^.+\.soy$
|