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 auth.json
database.db 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)") 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():