This commit is contained in:
Aritra Banik
2024-03-09 13:29:31 +05:30
parent 27e8e5db73
commit 4e8692df0c
3 changed files with 2 additions and 3 deletions

View File

@@ -145,6 +145,7 @@ import
ctx.redirect("/cart")
"/checkout" -> get:
echo "get"
var
db = newDatabase()
@@ -192,6 +193,7 @@ import
compileTemplateFile(getScriptDir() / "a3a" / "checkout.nimja")
"/checkout" -> post:
echo "post"
var
db = newDatabase()
cart: seq[Cart]