pwa change
This commit is contained in:
parent
2da6c6584a
commit
424d58c4cb
2
app.py
2
app.py
@ -162,8 +162,6 @@ def user_accounts() -> Union[Response, str]:
|
||||
@app.route("/share", methods=["GET"])
|
||||
def share() -> Response:
|
||||
"""Handles shared text from PWA."""
|
||||
if not session.get("logged_in"):
|
||||
return redirect(url_for("index"))
|
||||
shared_text = request.args.get("text")
|
||||
return redirect(url_for("add_account", shared_text=shared_text))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user