mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Rudimentary start page
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
from bottle import Bottle, route, get, post, error, run, template, static_file, request, response, FormsDict
|
||||
from bottle import Bottle, route, get, post, error, run, template, static_file, request, response, FormsDict, redirect, template
|
||||
from importlib.machinery import SourceFileLoader
|
||||
from htmlgenerators import removeIdentical
|
||||
from utilities import *
|
||||
@@ -23,7 +23,7 @@ webserver = Bottle()
|
||||
@webserver.route("")
|
||||
@webserver.route("/")
|
||||
def mainpage():
|
||||
return static_file("main.html",root="")
|
||||
return static_html("start")
|
||||
|
||||
|
||||
# this is the fallback option. If you run this service behind a reverse proxy, it is recommended to rewrite /db/ requests to the port of the db server
|
||||
|
||||
Reference in New Issue
Block a user