tangled
alpha
login
or
join now
mary.my.id
/
boat
22
fork
atom
handy online tools for AT Protocol
boat.kelinci.net
atproto
bluesky
atcute
typescript
solidjs
22
fork
atom
overview
issues
pulls
pipelines
chore: add local env variables
mary.my.id
1 year ago
26d16108
a242c58a
verified
This commit was signed with the committer's
known signature
.
mary.my.id
SSH Key Fingerprint:
SHA256:ZlTP/auFSGpGnaoDg4mCTG1g9OZvXp62jWR4c6H4O3c=
+3
-1
2 changed files
expand all
collapse all
unified
split
.env.test
src
globals
rpc.ts
+2
.env.test
···
1
1
+
VITE_PLC_DIRECTORY_URL=http://localhost:64960
2
2
+
VITE_APPVIEW_URL=http://localhost:64961
+1
-1
src/globals/rpc.ts
···
1
1
import { simpleFetchHandler, XRPC } from '@atcute/client';
2
2
3
3
const APPVIEW_URL = import.meta.env.VITE_APPVIEW_URL;
4
4
-
console.log(import.meta.env);
4
4
+
5
5
export const appViewRpc = new XRPC({ handler: simpleFetchHandler({ service: APPVIEW_URL }) });