added empty html/css/js files
This commit is contained in:
parent
6d7e047f3c
commit
54fdba7207
|
@ -1,3 +1,4 @@
|
||||||
|
meta.json
|
||||||
auth.json
|
auth.json
|
||||||
database.db
|
database.db
|
||||||
|
|
||||||
|
|
7
web.py
7
web.py
|
@ -15,11 +15,12 @@ c = db.cursor()
|
||||||
c.execute("CREATE TABLE IF NOT EXISTS `data` (username VARCHAR NOT NULL, appid VARCHAR NOT NULL, appsecret VARCHAR NOT NULL, secret VARCHAR NOT NULL, latest_post VARCHAR)")
|
c.execute("CREATE TABLE IF NOT EXISTS `data` (username VARCHAR NOT NULL, appid VARCHAR NOT NULL, appsecret VARCHAR NOT NULL, secret VARCHAR NOT NULL, latest_post VARCHAR)")
|
||||||
|
|
||||||
app = Flask(cfg['name'])
|
app = Flask(cfg['name'])
|
||||||
|
app.secret_key = cfg['flask_key']
|
||||||
|
|
||||||
|
|
||||||
@app.route('/login')
|
@app.route('/')
|
||||||
def auth():
|
def main():
|
||||||
|
return "test"
|
||||||
|
|
||||||
@app.route('/internal/auth_a')
|
@app.route('/internal/auth_a')
|
||||||
def internal_auth_a():
|
def internal_auth_a():
|
||||||
|
|
Loading…
Reference in New Issue