mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-13 08:35:46 -04:00
fixed bug where hidden service still closed even if "close automatically" unchecked in GUI (#58)
This commit is contained in:
parent
8fce3adeb5
commit
d0d4cebbff
4 changed files with 29 additions and 3 deletions
|
@ -85,6 +85,16 @@ def copy_url():
|
|||
clipboard.setText(url)
|
||||
return ''
|
||||
|
||||
@app.route("/stay_open_true")
|
||||
def stay_open_true():
|
||||
global onionshare
|
||||
onionshare.set_stay_open(True)
|
||||
|
||||
@app.route("/stay_open_false")
|
||||
def stay_open_false():
|
||||
global onionshare
|
||||
onionshare.set_stay_open(False)
|
||||
|
||||
@app.route("/heartbeat")
|
||||
def check_for_requests():
|
||||
global onionshare
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue