added empty html/css/js files
This commit is contained in:
parent
6d7e047f3c
commit
54fdba7207
5 changed files with 5 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
meta.json
|
||||
auth.json
|
||||
database.db
|
||||
|
||||
|
|
0
static/script.js
Normal file
0
static/script.js
Normal file
0
static/style.css
Normal file
0
static/style.css
Normal file
0
templates/landing_page.html
Normal file
0
templates/landing_page.html
Normal file
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)")
|
||||
|
||||
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():
|
||||
|
|
Loading…
Reference in a new issue