feat: Add Woodburn favicon
All checks were successful
Build Docker / Build Image (push) Successful in 19s
All checks were successful
Build Docker / Build Image (push) Successful in 19s
This commit is contained in:
parent
986e4fb5ae
commit
f5aac5c35b
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
@ -15,7 +15,9 @@ def index():
|
||||
# Get host from request
|
||||
host = request.headers.get('host')
|
||||
tld = host.split('.')[-1]
|
||||
|
||||
tld = tld.split(':')[0]
|
||||
if tld == 'localhost' or tld == '1':
|
||||
tld = 'example'
|
||||
return render_template('index.html', tld=tld)
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 130 B |
Loading…
Reference in New Issue
Block a user