We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eacdc65 commit d33bf90Copy full SHA for d33bf90
.github/workflows/go.yml
@@ -155,7 +155,7 @@ jobs:
155
version: latest
156
args: --timeout=5m
157
158
- - name: Check templ formatting
+ - name: Check formatting
159
run: |
160
templ fmt .
161
gofmt -l -w .
internal/handlers/logout.go
@@ -24,8 +24,9 @@ func (h *Handler) Logout(c *gin.Context) {
24
return
25
}
26
27
+ // FIXME: This does not seem to work
28
scheme := "http"
- if c.Request.TLS != nil {
29
+ if h.cfg.Application.Environment != "dev" {
30
scheme = "https"
31
32
0 commit comments