diff --git a/server.py b/server.py index 0de7979..a3bee29 100644 --- a/server.py +++ b/server.py @@ -371,6 +371,9 @@ class Anonymous_Github: @application.route('/repository/', methods=['GET'], defaults={'path': ''}) @application.route('/repository//', methods=['GET'], defaults={'path': ''}) @application.route('/repository//', methods=['GET']) + @application.route('/r/', methods=['GET'], defaults={'path': ''}) + @application.route('/r//', methods=['GET'], defaults={'path': ''}) + @application.route('/r//', methods=['GET']) def repository(id, path): repo_path = self.config_dir + "/" + str(id) config_path = repo_path + "/config.json"