Open gedw99 opened 5 months ago
its my fault
cd todos && caddy-cmd list-modules
admin.api.load
caddy.config_loaders.http
caddy.logging.writers.discard
caddy.logging.writers.stderr
caddy.logging.writers.stdout
Standard modules: 5
Non-standard modules: 0
Unknown modules: 0
You'll want to import xtemplate-caddy like
import _ "github.com/infogulch/xtemplate-caddy"
I tried that but got compile errors.
I can submit the code if you want of post the errors ?
Yes well I haven't updated xtemplate-caddy to reference the new xtemplate config yet, that's probably what needs fixed first. There may be other issues as well.
I think that’s it.
I am on mobile at the moment and can’t copy paste the 8 or some compile errors ..
the main.go is very simple. If you want it let me know.
Hey @infogulch
I am using github.com/caddyserver/caddy/v2/cmd/caddy latest with xtemplate compiled in.
but for todos I get:
I think this changed with latest caddy... Need to check..
caddy --config Caddyfile is def old though as in readme...