Highly ambitious ATProtocol AppView service and sdks
0
fork

Configure Feed

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

fix api docs api url

Chad Miller 1f608eb2 039f59cd

+7 -9
+1 -1
frontend/deno.json
··· 18 18 "jsxImportSource": "preact" 19 19 }, 20 20 "imports": { 21 - "@slices/oauth": "jsr:@slices/oauth@^0.3.0", 21 + "@slices/oauth": "jsr:@slices/oauth@^0.3.2", 22 22 "@slices/session": "jsr:@slices/session@^0.1.0", 23 23 "@std/assert": "jsr:@std/assert@^1.0.14", 24 24 "preact": "npm:preact@^10.27.1",
+4 -4
frontend/deno.lock
··· 2 2 "version": "5", 3 3 "specifiers": { 4 4 "jsr:@shikijs/shiki@*": "3.7.0", 5 - "jsr:@slices/oauth@0.3": "0.3.0", 5 + "jsr:@slices/oauth@~0.3.2": "0.3.2", 6 6 "jsr:@slices/session@0.1": "0.1.0", 7 7 "jsr:@std/assert@^1.0.14": "1.0.14", 8 8 "jsr:@std/cli@^1.0.21": "1.0.21", ··· 37 37 "npm:shiki" 38 38 ] 39 39 }, 40 - "@slices/oauth@0.3.0": { 41 - "integrity": "a6f3296e701291f14b4c8491a7f7a86bd3c8d5caf006eb1d371627558439e3b5" 40 + "@slices/oauth@0.3.2": { 41 + "integrity": "51feaa6be538a61a3278ee7f1d264ed937187d09da2be1f0a2a837128df82526" 42 42 }, 43 43 "@slices/session@0.1.0": { 44 44 "integrity": "63a4e35d70dcb2bb58e6117fdccf308f4a86cd9d94cf99412a3de9d35862cabc", ··· 452 452 }, 453 453 "workspace": { 454 454 "dependencies": [ 455 - "jsr:@slices/oauth@0.3", 455 + "jsr:@slices/oauth@~0.3.2", 456 456 "jsr:@slices/session@0.1", 457 457 "jsr:@std/assert@^1.0.14", 458 458 "jsr:@std/http@^1.0.20",
+1
frontend/fly.toml
··· 14 14 API_URL = 'https://slices-api.fly.dev' 15 15 DATABASE_URL = '/data/slices.db' 16 16 SLICE_URI = 'at://did:plc:bcgltzqazw5tb6k2g3ttenbj/social.slices.slice/3lwzmbjpqxk2q' 17 + DENO_ENV = 'production' 17 18 18 19 [http_service] 19 20 internal_port = 8080
+1 -4
frontend/src/pages/SliceApiDocsPage.tsx
··· 13 13 const { sliceId, sliceName, accessToken, currentUser } = props; 14 14 15 15 // Construct the OpenAPI spec URL for this slice 16 - const baseUrl = 17 - typeof window !== "undefined" 18 - ? globalThis.location.origin.replace(":8000", ":3000") // Frontend runs on 8000, API on 3000 19 - : "http://localhost:3000"; 16 + const baseUrl = Deno.env.get("API_URL") || "http://localhost:3000"; 20 17 21 18 // Build the slice URI 22 19 const sliceUri = `at://${currentUser.sub}/social.slices.slice/${sliceId}`;