A community based topic aggregation platform built on atproto
1package routes 2 3import ( 4 "Coves/internal/api/handlers/wellknown" 5 6 "github.com/go-chi/chi/v5" 7) 8 9// RegisterWellKnownRoutes registers RFC 8615 well-known URI endpoints 10// These endpoints are used for service discovery and mobile app deep linking 11// 12// Spec: https://www.rfc-editor.org/rfc/rfc8615.html 13func RegisterWellKnownRoutes(r chi.Router) { 14 // iOS Universal Links configuration 15 // Required for cryptographically-bound deep linking on iOS 16 // Must be served at exact path /.well-known/apple-app-site-association 17 // Content-Type: application/json (no redirects allowed) 18 r.Get("/.well-known/apple-app-site-association", wellknown.HandleAppleAppSiteAssociation) 19 20 // Android App Links configuration 21 // Required for cryptographically-bound deep linking on Android 22 // Must be served at exact path /.well-known/assetlinks.json 23 // Content-Type: application/json (no redirects allowed) 24 r.Get("/.well-known/assetlinks.json", wellknown.HandleAssetLinks) 25}