diff --git a/app.py b/app.py index f6f85d1..dc83ae4 100644 --- a/app.py +++ b/app.py @@ -505,7 +505,7 @@ class Handler(BaseHTTPRequestHandler): f"" f"
Drag this link to your bookmarks bar. Click it on any page to index it instantly.
" - f'' + f'r.text()).then(t=>alert(t)).catch(()=>alert(\'tinyweb not running\')))">+ save to {esc(name)}
' f"{msg}
" f'back' ) @@ -520,5 +520,5 @@ class Handler(BaseHTTPRequestHandler): if __name__ == "__main__": init_db() - print("running on http://localhost:5001") - HTTPServer(("localhost", 5001), Handler).serve_forever() + print("running on http://0.0.0.0:5001") + HTTPServer(("0.0.0.0", 5001), Handler).serve_forever()