Skip to content
Snippets Groups Projects
Verified Commit 256878f6 authored by hanfi's avatar hanfi
Browse files

fix path

parent cb177dfb
No related branches found
No related tags found
No related merge requests found
...@@ -210,4 +210,6 @@ def store_item( ...@@ -210,4 +210,6 @@ def store_item(
) )
db.add(item) db.add(item)
db.commit() db.commit()
return RedirectResponse(url="/", status_code=HTTP_303_SEE_OTHER) return RedirectResponse(
url=app.url_path_for("main"), status_code=HTTP_303_SEE_OTHER
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment