gaeoで'/' ルートアクションの設定の仕方。
mapの書き方が分かったおかげで、設定できるようになった。前までひっそりとredirectとか使ってたのは内緒。
main.py
def initRoutes(): r = router.Router() r.root(controller='api', action='index') r.connect('/:controller/:action/:id')
としてあげると、http://hoge.com/にアクセスがあるとapi.pyのindexが呼ばれるようになる。