-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapp.yaml
89 lines (86 loc) · 1.55 KB
/
app.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
application: twidao
version: 1
runtime: python
api_version: 1
#default_expiration: "4d 5h"
handlers:
- url: /favicon.ico
static_files: static/favicon.ico
upload: static/favicon.ico
mime_type: image/x-icon
expiration: "999d"
- url: /robots.txt
static_files: static/robots.txt
upload: static/robots.txt
- url: /static
static_dir: static
#
# Pages
- url: /
script: main.py
- url: /signup
script: main.py
login: required
- url: /setting
script: main.py
login: required
- url: /avatar/.*
script: main.py
- url: /notfound
script: main.py
- url: /status/.*
script: main.py
- url: /favorites
script: main.py
- url: /replies
script: main.py
login: required
- url: /directs
script: main.py
login: required
- url: /(\w+)
script: main.py
#
# Actions
- url: /follow/.*
script: main.py
login: required
- url: /unfollow/.*
script: main.py
login: required
- url: /del/.*
script: main.py
login: required
- url: /fav/.*
script: main.py
login: required
- url: /unfav/.*
script: main.py
login: required
#
# Tasks requests -> /task/QUEUE_NAME/ACTION_HANDLER
- url: /task/avatar/resize
script: task.py
login: admin
- url: /task/tweets/push_timeline
script: task.py
login: admin
- url: /task/tweets/replies
script: task.py
login: admin
#
# API
- url: /api/status/.*
script: api.py
#
- url: /admin/.*
script: $PYTHON_LIB/google/appengine/ext/admin
login: admin
- url: /remote_api
script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
login: admin
- url: /.*
script: main.py
#inbound_services:
#- xmpp_message
#- mail