mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-06 05:16:59 -06:00
fixed routes.py
This commit is contained in:
7
.gitignore
vendored
7
.gitignore
vendored
@@ -1,3 +1,8 @@
|
||||
/xeviondevenv/*
|
||||
xevion.dev.ini
|
||||
*.old
|
||||
*.pem
|
||||
*.pyc
|
||||
key
|
||||
/app.db
|
||||
/key
|
||||
@@ -5,4 +10,4 @@ key
|
||||
/migrations/*
|
||||
/venv/*
|
||||
/app/__pycache__/*
|
||||
/__pycache__/*
|
||||
/__pycache__/*
|
||||
|
||||
@@ -43,8 +43,7 @@ def user_info():
|
||||
|
||||
@app.route('/')
|
||||
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),
|
||||
'title': fake.word().title()}
|
||||
for _ in range(10)]
|
||||
@@ -193,4 +192,4 @@ def build_data(tags, page, count, base64, showfull):
|
||||
temp['base64'] = base64ify(temp['real_url'])
|
||||
|
||||
build.append(temp)
|
||||
return build
|
||||
return build
|
||||
|
||||
Reference in New Issue
Block a user