Bluesky app fork with some witchin' additions 💫 witchsky.app
bluesky fork client
117
fork

Configure Feed

Select the types of activity you want to include in your feed.

bskyweb: update to golang v1.26 (#10208)

authored by

bnewbold and committed by
GitHub
a7b6cd45 888eca73

+9 -9
+1 -1
Dockerfile
··· 1 - FROM golang:1.25-bookworm AS build-env 1 + FROM golang:1.26-bookworm AS build-env 2 2 3 3 WORKDIR /usr/src/social-app 4 4
+1 -1
Dockerfile.embedr
··· 1 - FROM golang:1.25-bookworm AS build-env 1 + FROM golang:1.26-bookworm AS build-env 2 2 3 3 WORKDIR /usr/src/social-app 4 4
+1 -1
bskyweb/cmd/bskyweb/renderer.go
··· 54 54 } 55 55 } 56 56 57 - func (r Renderer) Render(w io.Writer, name string, data interface{}, c echo.Context) error { 57 + func (r Renderer) Render(w io.Writer, name string, data any, c echo.Context) error { 58 58 var ctx pongo2.Context 59 59 60 60 if data != nil {
+1 -1
bskyweb/cmd/embedr/render.go
··· 11 11 templates *template.Template 12 12 } 13 13 14 - func (t *Template) Render(w io.Writer, name string, data interface{}, c echo.Context) error { 14 + func (t *Template) Render(w io.Writer, name string, data any, c echo.Context) error { 15 15 return t.templates.ExecuteTemplate(w, name, data) 16 16 }
+4 -4
bskyweb/cmd/embedr/server.go
··· 180 180 181 181 // Create CORS middleware for oembed 182 182 oembedCORS := middleware.CORSWithConfig(middleware.CORSConfig{ 183 - AllowOrigins: []string{"*"}, 184 - AllowMethods: []string{http.MethodGet, http.MethodHead, http.MethodOptions}, 185 - AllowHeaders: []string{"Origin", "Content-Type", "Accept"}, 183 + AllowOrigins: []string{"*"}, 184 + AllowMethods: []string{http.MethodGet, http.MethodHead, http.MethodOptions}, 185 + AllowHeaders: []string{"Origin", "Content-Type", "Accept"}, 186 186 }) 187 187 188 188 e.GET("/robots.txt", echo.WrapHandler(staticHandler)) ··· 271 271 code = he.Code 272 272 } 273 273 c.Logger().Error(err) 274 - data := map[string]interface{}{ 274 + data := map[string]any{ 275 275 "statusCode": code, 276 276 } 277 277 c.Render(code, "error.html", data)
+1 -1
bskyweb/go.mod
··· 1 1 module github.com/bluesky-social/social-app/bskyweb 2 2 3 - go 1.25 3 + go 1.26 4 4 5 5 require ( 6 6 github.com/bluesky-social/indigo v0.0.0-20250729223159-573ae927246a