Skip to content

Commit

Permalink
Fix proxy
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Sundberg <[email protected]>
  • Loading branch information
seansund committed Sep 20, 2023
1 parent 61d7bf2 commit f23188d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ export default defineConfig(({mode}) => {

const env = loadEnv(mode, process.cwd(), '')

const apiTarget: string = env.API_TARGET1 || 'http://localhost:3000';
const graphqlTarget: string = env.GRAPHQL_TARGET1 || 'http://localhost:3000';
const socketTarget: string = env.SOCKET_TARGET1 || 'ws://localhost:3000';
const apiTarget: string = env.API_TARGET || 'http://localhost:3000';
const graphqlTarget: string = env.GRAPHQL_TARGET || 'http://localhost:3000';
const socketTarget: string = env.SOCKET_TARGET || 'ws://localhost:3000';

console.log('Target urls: ', {apiTarget, graphqlTarget, socketTarget, mode})

Expand Down

0 comments on commit f23188d

Please sign in to comment.