diff --git a/schnitzeljagd/core.py b/schnitzeljagd/core.py index 0a57ecc..ce5356b 100644 --- a/schnitzeljagd/core.py +++ b/schnitzeljagd/core.py @@ -24,15 +24,7 @@ def shutdown(): atexit.register(shutdown) -@app.route('/guidelines') -def get_guidelines(): - dest = config['guideline_url'] or None - if dest: - return redirect(dest) - return "No guideline document was configured.", 404 - - -@app.route('/checkin', methods=['POST']) +@app.route('/game/checkin', methods=['POST']) def post_arrival(): try: @@ -57,7 +49,7 @@ def post_arrival(): return 'OK', 200 -@app.route('/data') +@app.route('/game/data') def get_data(): if not 'Authorization' in request.headers: