Skip to content
Snippets Groups Projects
Commit 6bc9f4a8 authored by mowoe's avatar mowoe
Browse files

full support working

parent 1b0aab62
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,9 @@ import random
from flask import request
from peewee import *
db = SqliteDatabase('cfd.db')
db = MySQLDatabase('chaos_familien_duell', user='cfd', password='iuMRS2GPCdnLHeOX',
host='mowoe.com', port=2307)
class Answers(Model):
q1 = CharField()
......@@ -61,4 +63,4 @@ def submit():
if __name__ == "__main__":
db.connect()
db.create_tables([Answers])
app.run()
\ No newline at end of file
app.run("0.0.0.0")
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment