Skip to content

Commit aad35eb

Browse files
authored
Merge pull request #34 from BluesYoung-web/main
2 parents d8280be + 4ed89ab commit aad35eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/plugins/eden/fetch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Then import the server type, and consume Elysia API on client:
4646
import { edenFetch } from '@elysiajs/eden'
4747
import type { App } from './server'
4848

49-
const app = edenFetch<App>('http://localhost:8080')
49+
const fetch = edenFetch<App>('http://localhost:8080')
5050

5151
// response type: 'Hi Elysia'
5252
const pong = await fetch('/', {})

0 commit comments

Comments
 (0)