figure out where to serve static images from and how to handle "wildcard" paths

This commit is contained in:
2025-09-13 23:13:52 -06:00
parent 779f15f069
commit d3d431944b
3 changed files with 17 additions and 0 deletions
+2
View File
@@ -20,6 +20,8 @@ func AmWrap(myfunc func(AmContext) (string, any, error)) echo.HandlerFunc {
what, rc, err := myfunc(amctxt)
if err == nil {
switch what {
case "string":
err = ctxt.String(amctxt.RC(), fmt.Sprintf("%v", rc))
case "template":
err = amctxt.Render(fmt.Sprintf("%v", rc))
case "framed_template":