fix: Add routes for handshake redirect scripts
All checks were successful
Build Docker / Build Image (push) Successful in 30s

This commit is contained in:
Nathan Woodburn 2023-11-02 21:13:59 +11:00
parent 0b6ba921ce
commit 1855e18315
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
7 changed files with 7 additions and 59 deletions

1
CNAME
View File

@ -1 +0,0 @@
nathan.woodburn.au

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -45,6 +45,13 @@ def favicon():
def faviconSVG(): def faviconSVG():
return send_from_directory('templates/assets/img', 'favicon.svg') return send_from_directory('templates/assets/img', 'favicon.svg')
@app.route('/https.js')
@app.route('/handshake.js')
@app.route('/redirect.js')
def handshake():
# return request.path
return send_from_directory('templates/assets/js', request.path.split('/')[-1])
# Main routes # Main routes