added empty html/css/js files

This commit is contained in:
Lynne Megido 2018-11-02 13:13:08 +10:00
parent 6d7e047f3c
commit 54fdba7207
Signed by: lynnesbian
GPG Key ID: FB7B970303ACE499
5 changed files with 5 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
meta.json
auth.json
database.db

0
static/script.js Normal file
View File

0
static/style.css Normal file
View File

View File

7
web.py
View File

@ -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)")
app = Flask(cfg['name'])
app.secret_key = cfg['flask_key']
@app.route('/login')
def auth():
@app.route('/')
def main():
return "test"
@app.route('/internal/auth_a')
def internal_auth_a():