Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

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

Merge pull request #8755 from bluesky-social/echoprom_fix

fix echoprom config

authored by

Jaz and committed by
GitHub
04510128 3ff42f15

+8 -1
+1
.github/workflows/build-and-push-embedr-aws.yaml
··· 3 3 push: 4 4 branches: 5 5 - main 6 + - echoprom_fix 6 7 7 8 env: 8 9 REGISTRY: ${{ secrets.AWS_ECR_REGISTRY_USEAST2_PACKAGES_REGISTRY }}
+7 -1
bskyweb/cmd/embedr/server.go
··· 154 154 RedirectCode: http.StatusFound, 155 155 })) 156 156 157 - e.Use(echoprometheus.NewMiddleware("")) 157 + echoprom := echoprometheus.NewMiddlewareWithConfig( 158 + echoprometheus.MiddlewareConfig{ 159 + DoNotUseRequestPathFor404: true, 160 + }, 161 + ) 162 + 163 + e.Use(echoprom) 158 164 159 165 // 160 166 // configure routes