Browse Source

added empty html/css/js files

Lynne Megido 3 months ago
parent
commit
54fdba7207
Signed by: Lynne <thecoolone3@gmail.com> GPG Key ID: FB7B970303ACE499
5 changed files with 5 additions and 3 deletions
  1. 1
    0
      .gitignore
  2. 0
    0
      static/script.js
  3. 0
    0
      static/style.css
  4. 0
    0
      templates/landing_page.html
  5. 4
    3
      web.py

+ 1
- 0
.gitignore View File

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

+ 0
- 0
static/script.js View File


+ 0
- 0
static/style.css View File


+ 0
- 0
templates/landing_page.html View File


+ 4
- 3
web.py View File

@@ -15,11 +15,12 @@ c = db.cursor()
15 15
 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)")
16 16
 
17 17
 app = Flask(cfg['name'])
18
+app.secret_key = cfg['flask_key']
18 19
 
19 20
 
20
-@app.route('/login')
21
-def auth():
22
-
21
+@app.route('/')
22
+def main():
23
+	return "test"
23 24
 	
24 25
 @app.route('/internal/auth_a')
25 26
 def internal_auth_a():

Loading…
Cancel
Save