this repo has no description
0
fork

Configure Feed

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

bigsky: show something helpful when you hit home route (#793)

authored by

bnewbold and committed by
GitHub
1ae8ae99 12d29e93

+18
+18
bgs/bgs.go
··· 349 349 e.GET("/xrpc/com.atproto.sync.notifyOfUpdate", bgs.HandleComAtprotoSyncNotifyOfUpdate) 350 350 e.GET("/xrpc/_health", bgs.HandleHealthCheck) 351 351 e.GET("/_health", bgs.HandleHealthCheck) 352 + e.GET("/", bgs.HandleHomeMessage) 352 353 353 354 admin := e.Group("/admin", bgs.checkAdminAuth) 354 355 ··· 418 419 } else { 419 420 return c.JSON(200, HealthStatus{Status: "ok"}) 420 421 } 422 + } 423 + 424 + var homeMessage string = ` 425 + d8888b. d888888b d888b .d8888. db dD db db 426 + 88 '8D '88' 88' Y8b 88' YP 88 ,8P' '8b d8' 427 + 88oooY' 88 88 '8bo. 88,8P '8bd8' 428 + 88~~~b. 88 88 ooo 'Y8b. 88'8b 88 429 + 88 8D .88. 88. ~8~ db 8D 88 '88. 88 430 + Y8888P' Y888888P Y888P '8888Y' YP YD YP 431 + 432 + This is an atproto [https://atproto.com] relay instance, running the 'bigsky' codebase [https://github.com/bluesky-social/indigo] 433 + 434 + The firehose WebSocket path is at: /xrpc/com.atproto.sync.subscribeRepos 435 + ` 436 + 437 + func (bgs *BGS) HandleHomeMessage(c echo.Context) error { 438 + return c.String(http.StatusOK, homeMessage) 421 439 } 422 440 423 441 type AuthToken struct {