ソースを参照

download orderer on /

Eren Yilmaz 6 年 前
コミット
5d418f8a16
1 ファイル変更6 行追加1 行削除
  1. 6 1
      run_server.py

+ 6 - 1
run_server.py

@@ -3,7 +3,7 @@ import sqlite3
 import connection
 import server_controller
 import model
-from bottle import run, response, route
+from bottle import run, response, route, redirect
 
 from server_controller import not_found
 from debug import debug
@@ -45,5 +45,10 @@ if __name__ == '__main__':
             return server_controller.bad_request('Action violates database constraints.')
 
 
+    @route('/', method='GET')
+    def process():
+        redirect('http://koljastrohm-games.com/downloads/orderer.zip')
+
+
     run(host='0.0.0.0', port=connection.port, debug=debug)
     model.connection.close()