Skip to content

Commit d486991

Browse files
authored
Change client baseURL to relative path
1 parent 4f1efb7 commit d486991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ import { hc } from 'hono/client'
6666
import { receiveTypedStream } from 'jsr:@ns/hono-typedstream/client'
6767
import type { AppType } from './server.ts'
6868

69-
const client = hc<AppType>({ baseURL: 'https://example.com' })
69+
const client = hc<AppType>('/')
7070

7171
const res = await client.events.$get()
7272

0 commit comments

Comments
 (0)