Skip to content

Commit

Permalink
actually nvm
Browse files Browse the repository at this point in the history
  • Loading branch information
bemoty committed Apr 6, 2024
1 parent 132527c commit 38af9d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/src/lib/eden.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { dev } from '$app/environment'
import { edenFetch, edenTreaty } from '@elysiajs/eden'
import type { Server } from '../../../server/src/elysia/Server'
import { dev } from '$app/environment';
import { edenFetch, edenTreaty } from '@elysiajs/eden';
import type { Server } from '../../../server/src/elysia/Server';

const target = dev ? 'http://localhost:3000' : 'http://doofus-rick:3000'
const target = dev ? 'http://localhost:3000' : 'https://doofus-rick-api.josholaus.com'

export const treaty = edenTreaty<Server>(target)

Expand Down

0 comments on commit 38af9d0

Please sign in to comment.