5 lines
259 B
Python
5 lines
259 B
Python
def routes(config):
|
|
config.add_route('index', '/')
|
|
config.add_route('sheet', '/c{uri:.*}', factory='ttfrog.webserver.controllers.CharacterSheet')
|
|
config.add_route('data', '/_/{table_name}{uri:.*}', factory='ttfrog.webserver.controllers.JsonData')
|