modified main.go +1 -1
| @@ -26,7 +26,7 @@ func main() { |
| 26 | 26 | clusterInterval := flag.Duration("cluster-interval", envDuration("GLEAN_CLUSTER_INTERVAL", 6*time.Hour), "cluster recomputation interval") |
| 27 | 27 | flag.Parse() |
| 28 | 28 | |
| 29 | | - atproto.InitIdentity(envOr("GLEAN_PLC_URL", "")) |
| 29 | + atproto.InitIdentity(envOr("GLEAN_PLC_URL", "https://didplc.glean.at")) |
| 30 | 30 | |
| 31 | 31 | logger := slog.New(slog.NewTextHandler(os.Stdout, &slog.HandlerOptions{Level: slog.LevelInfo})) |
| 32 | 32 | |
| @@ -26,7 +26,7 @@ func main() { |
| 26 | clusterInterval := flag.Duration("cluster-interval", envDuration("GLEAN_CLUSTER_INTERVAL", 6*time.Hour), "cluster recomputation interval") | 26 | clusterInterval := flag.Duration("cluster-interval", envDuration("GLEAN_CLUSTER_INTERVAL", 6*time.Hour), "cluster recomputation interval") |
| 27 | flag.Parse() | 27 | flag.Parse() |
| 28 | | 28 | |
| 29 | - atproto.InitIdentity(envOr("GLEAN_PLC_URL", "")) | 29 | + atproto.InitIdentity(envOr("GLEAN_PLC_URL", "https://didplc.glean.at")) |
| 30 | | 30 | |
| 31 | logger := slog.New(slog.NewTextHandler(os.Stdout, &slog.HandlerOptions{Level: slog.LevelInfo})) | 31 | logger := slog.New(slog.NewTextHandler(os.Stdout, &slog.HandlerOptions{Level: slog.LevelInfo})) |
| 32 | | 32 | |
modified readme.md +1 -1
| @@ -44,7 +44,7 @@ Then open `http://localhost:8080`. |
| 44 | 44 | | `GLEAN_JETSTREAM` | `wss://jetstream.glean.at` | Jetstream WebSocket URL | |
| 45 | 45 | | `GLEAN_SYNC_INTERVAL` | `1h` | PDS sync interval (Go duration: `30m`, `2h30m`, etc.) | |
| 46 | 46 | | `GLEAN_CLUSTER_INTERVAL` | `6h` | Cluster recomputation interval (Go duration) | |
| 47 | | -| `GLEAN_PLC_URL` | `https://plc.directory` | PLC directory URL for DID resolution | |
| 47 | +| `GLEAN_PLC_URL` | `https://didplc.glean.at` | PLC directory URL for DID resolution | |
| 48 | 48 | | `GLEAN_OAUTH_CLIENT_ID` | _(empty)_ | OAuth client metadata URL (leave empty for localhost dev) | |
| 49 | 49 | | `GLEAN_OAUTH_REDIRECT_URL` | _(empty)_ | OAuth redirect URL (leave empty for localhost dev) | |
| 50 | 50 | |
| @@ -44,7 +44,7 @@ Then open `http://localhost:8080`. |
| 44 | | `GLEAN_JETSTREAM` | `wss://jetstream.glean.at` | Jetstream WebSocket URL | | 44 | | `GLEAN_JETSTREAM` | `wss://jetstream.glean.at` | Jetstream WebSocket URL | |
| 45 | | `GLEAN_SYNC_INTERVAL` | `1h` | PDS sync interval (Go duration: `30m`, `2h30m`, etc.) | | 45 | | `GLEAN_SYNC_INTERVAL` | `1h` | PDS sync interval (Go duration: `30m`, `2h30m`, etc.) | |
| 46 | | `GLEAN_CLUSTER_INTERVAL` | `6h` | Cluster recomputation interval (Go duration) | | 46 | | `GLEAN_CLUSTER_INTERVAL` | `6h` | Cluster recomputation interval (Go duration) | |
| 47 | -| `GLEAN_PLC_URL` | `https://plc.directory` | PLC directory URL for DID resolution | | 47 | +| `GLEAN_PLC_URL` | `https://didplc.glean.at` | PLC directory URL for DID resolution | |
| 48 | | `GLEAN_OAUTH_CLIENT_ID` | _(empty)_ | OAuth client metadata URL (leave empty for localhost dev) | | 48 | | `GLEAN_OAUTH_CLIENT_ID` | _(empty)_ | OAuth client metadata URL (leave empty for localhost dev) | |
| 49 | | `GLEAN_OAUTH_REDIRECT_URL` | _(empty)_ | OAuth redirect URL (leave empty for localhost dev) | | 49 | | `GLEAN_OAUTH_REDIRECT_URL` | _(empty)_ | OAuth redirect URL (leave empty for localhost dev) | |
| 50 | | 50 | |