Skip to content

Commit

Permalink
chore: update env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainLanz committed Dec 8, 2024
1 parent 0f5f8e7 commit 52b4226
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion apps/romainlanz.com/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ NODE_ENV=development

# App
LOG_LEVEL=info
APP_KEY=xlahxkUGTtKMhdB39YDcOiAh-RiHX4nx
APP_KEY=
APP_URL=http://romainlanz.localhost:3333
VITE_APP_URL=$APP_URL

# Session
SESSION_DRIVER=cookie
Expand Down
2 changes: 1 addition & 1 deletion packages/rpc/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import { api } from "@rlanz/site/api";

export const client = createTuyau({
api,
baseUrl: globalThis.RomainLanz.appUrl,
baseUrl: import.meta.env.VITE_APP_URL,
});

0 comments on commit 52b4226

Please sign in to comment.