Skip to content

Commit

Permalink
snaptext target blank
Browse files Browse the repository at this point in the history
  • Loading branch information
schollz authored Jun 25, 2018
1 parent dad9de2 commit 4b70237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion startup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def id_generator(size=6, chars=string.ascii_lowercase + string.digits):
@app.route('/')
def main():
piid = open('pi.id', 'r').read().strip()
return render_template('index.html', ssids=getssid(), message="Once connected you'll find IP address @ <a href='https://snaptext.live/{}'>snaptext.live/{}</a>.".format(piid,piid))
return render_template('index.html', ssids=getssid(), message="Once connected you'll find IP address @ <a href='https://snaptext.live/{}' target='_blank'>snaptext.live/{}</a>.".format(piid,piid))

# Captive portal when connected with iOS or Android
@app.route('/generate_204')
Expand Down

0 comments on commit 4b70237

Please sign in to comment.