diff --git a/.env.example b/.env.example index 1b81de0..5a1baf5 100644 --- a/.env.example +++ b/.env.example @@ -23,9 +23,3 @@ CHECK_INTERVAL=5m # Enable the stdout notification channel (useful for local development) # Defaults to false (disabled); set to true to enable. ENABLE_STDOUT=false - -# Override the OpenMeet API base URL (for local testing against a fake server) -# OPENMEET_BASE_URL=http://localhost:8800 - -# Preset the ATProto PDS URL, skipping handle resolution (for local testing against a fake PDS) -# ATPROTO_PDS_URL=http://localhost:8800 diff --git a/README.md b/README.md index e4f91c0..4e2b3d0 100644 --- a/README.md +++ b/README.md @@ -26,20 +26,6 @@ npm run once # single fetch, weekly-digest format, then exit npm run once event [slug] # single fetch, new-event format ``` -### Offline testing against the fake OpenMeet server - -The Go repo's `cmd/fake-openmeet` fakes both the ATProto PDS and the OpenMeet -endpoints this client needs: - -```sh -(cd ../events && go run ./cmd/fake-openmeet) & - -OPENMEET_BASE_URL=http://localhost:8800 ATPROTO_PDS_URL=http://localhost:8800 \ - ENABLE_STDOUT=true ATPROTO_HANDLE=test.example ATPROTO_APP_PASSWORD=x \ - WEEKLY_NOTIFY_TIME=07:30 WEEKLY_NOTIFY_DAY=Monday CHECK_INTERVAL=5m \ - node main.ts once -``` - ## Test & typecheck ```sh diff --git a/src/atproto.ts b/src/atproto.ts index 521d683..c110fe7 100644 --- a/src/atproto.ts +++ b/src/atproto.ts @@ -6,8 +6,7 @@ import { fetchJson } from "./http.ts"; export type AtprotoLogin = Readonly<{ handle: string; appPassword: string; - // Presetting the PDS URL skips handle resolution; intended for local - // testing against a fake PDS. + // Presetting the PDS URL skips handle resolution. pdsUrl?: string | undefined; }>;