]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/__init__.py
Add back the /player/me view.
[xonotic/xonstat.git] / xonstat / __init__.py
index b60c35bced012e5b58156c0d1f1d7767e423fb66..85f1030781ba94103c980f3b350e065bc5246ddf 100644 (file)
@@ -51,8 +51,7 @@ def main(global_config, **settings):
     config.add_route("player_hashkey_info_json", "/player/{hashkey:.{44}}.json")
     config.add_view(player_hashkey_info_json, route_name="player_hashkey_info_json", renderer="jsonp")
 
-    #config.add_route("player_hashkey_info_text", "/player/me")
-    config.add_route("player_hashkey_info_text", "/player/{hashkey}")
+    config.add_route("player_hashkey_info_text", "/player/me")
     config.add_view(player_hashkey_info_text, route_name="player_hashkey_info_text", renderer="player_hashkey_info_text.mako")
 
     config.add_route("player_info_json", "/player/{id:\d+}.json")