mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-06 19:16:53 -06:00
fixed routes.py
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -1,3 +1,8 @@
|
|||||||
|
/xeviondevenv/*
|
||||||
|
xevion.dev.ini
|
||||||
|
*.old
|
||||||
|
*.pem
|
||||||
|
*.pyc
|
||||||
key
|
key
|
||||||
/app.db
|
/app.db
|
||||||
/key
|
/key
|
||||||
|
|||||||
@@ -43,7 +43,6 @@ def user_info():
|
|||||||
|
|
||||||
@app.route('/')
|
@app.route('/')
|
||||||
def index():
|
def index():
|
||||||
if current_user.is_authenticated:
|
|
||||||
content = [{'text': fake.paragraph(nb_sentences=15),
|
content = [{'text': fake.paragraph(nb_sentences=15),
|
||||||
'seed': random.randint(0, 1000),
|
'seed': random.randint(0, 1000),
|
||||||
'title': fake.word().title()}
|
'title': fake.word().title()}
|
||||||
|
|||||||
Reference in New Issue
Block a user