mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-29 01:06:16 -05:00
Always reset the slug to an empty string when the web server stops
This commit is contained in:
parent
8e200cd8b0
commit
3743d9a480
@ -263,6 +263,9 @@ class Web(object):
|
||||
# Let the mode know that the user stopped the server
|
||||
self.stop_q.put(True)
|
||||
|
||||
# Reset any slug that was in use
|
||||
self.slug = ''
|
||||
|
||||
# To stop flask, load http://127.0.0.1:<port>/<shutdown_slug>/shutdown
|
||||
if self.running:
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user