Commit 562f1d0f authored by Sli's avatar Sli

Fix bug dl app

parent 1173dad3
......@@ -12,10 +12,16 @@ app = Bottle()
plugin = sqlite.Plugin(dbfile='../data/sqliteDB.db')
def GetApp():
return static_file("app.apk", root="../data/")
def HomePage():
text = ''.join(("<h1>Serveur de validation de ebillets du gala</h1><p>Cliquez <a href=",
"/app.apk",">ici</a> pour télécarger l'application</p>"))
return text
def GetKeys():
return static_file("keys.json", root="../data/")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment