|
@@ -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()
|