1# Copyright (C) 2010 The Android Open Source Project 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); you may not 4# use this file except in compliance with the License. You may obtain a copy of 5# the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 12# License for the specific language governing permissions and limitations under 13# the License. 14 15application: samplesyncadapter2 16version: 1 17runtime: python 18api_version: 1 19 20handlers: 21 22# 23# Define a handler for our static files (css, images, etc) 24# 25- url: /static 26 static_dir: static 27 28# 29# Route all "web services" requests to the main.py file 30# 31- url: /auth 32 script: web_services.py 33 34- url: /sync 35 script: web_services.py 36 37- url: /reset_database 38 script: web_services.py 39 40# 41# Route all page requests to the dashboard.py file 42# 43- url: / 44 script: dashboard.py 45 46- url: /add_contact 47 script: dashboard.py 48 49- url: /edit_contact 50 script: dashboard.py 51 52- url: /delete_contact 53 script: dashboard.py 54 55- url: /avatar 56 script: dashboard.py 57 58- url: /edit_avatar 59 script: dashboard.py 60