diff --git a/.env.dev-gcp b/.env.dev-gcp index f09447427..aa681e304 100644 --- a/.env.dev-gcp +++ b/.env.dev-gcp @@ -6,4 +6,4 @@ SKIP_PREFLIGHT_CHECK=true VITE_AMPLITUDE_API_KEY=4b7349a378cfc18faf21e1fe6bea0cf2 VITE_AMPLITUDE_API_KEY_DEV=716ce898b7143ffd7ff3e52dfe69bae7 -VITE_DRAFT_URL=modiapersonoversikt-draft.intern.dev.nav.no/modiapersonoversikt-draft +VITE_DRAFT_URL=modiapersonoversikt-draft.intern.dev.nav.no diff --git a/proxy-config-q2.json b/proxy-config-q2.json index 21cd777bb..e60744c75 100644 --- a/proxy-config-q2.json +++ b/proxy-config-q2.json @@ -5,7 +5,7 @@ "scope": "api://dev-gcp.personoversikt.modiapersonoversikt-skrivestotte/.default" }, "modia-draft": { - "url": "http://modiapersonoversikt-draft.personoversikt.svc.cluster.local/modiapersonoversikt-draft", + "url": "http://modiapersonoversikt-draft.personoversikt.svc.cluster.local", "scope": "api://dev-gcp.personoversikt.modiapersonoversikt-draft/.default" }, "modia-innstillinger": { diff --git a/src/mock/mock-websocket.ts b/src/mock/mock-websocket.ts index e6ab4569b..467f18ec4 100644 --- a/src/mock/mock-websocket.ts +++ b/src/mock/mock-websocket.ts @@ -59,7 +59,7 @@ export default class MockWebsocket implements WebSocketIsh { static wsOriginal: WebSocket = (window as any).WebSocket; static setup() { (window as any).WebSocket = (url: string) => { - if (url.includes('/modiapersonoversikt-draft/api/draft/ws')) { + if (url.includes('/api/draft/ws')) { return new MockWebsocket(url); } else if (url.includes('veilederflatehendelser')) { return new VoidWebSocket();