Open Issues Need Help
View All on GitHub good first issue vscode NeedsImplementation
a-h/templ
9.7K
A language for writing HTML user interfaces in Go.
Go
#go#html-elements#htmx#ide-support#language-server#lsp#server-side-rendering#templating-languages
docs: update Gorilla CSRF sample to use csrf.TrustedOrigins([]string{"localhost:8000"}) 3 months ago
AI Summary: The issue describes a broken CSRF protection example in the `templ` documentation. The task is to update the example code to correctly use `csrf.TrustedOrigins` with `localhost:8000` to allow POST requests from that origin while maintaining CSRF protection for other origins. This involves modifying the `main.go` file to configure `csrf.Protect` with the appropriate trusted origin.
Complexity:
3/5
documentation good first issue docs
a-h/templ
9.7K
A language for writing HTML user interfaces in Go.
Go
#go#html-elements#htmx#ide-support#language-server#lsp#server-side-rendering#templating-languages