Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 8e9a2cf

Browse files
committed
fjerne urbukt kode
1 parent 8b16725 commit 8e9a2cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api/urls.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
const isProduction = window.location.href.includes("www.nav.no");
2-
const isDevelopment = window.location.href.includes("www.intern.dev.nav.no") || window.location.href.includes("www.ansatt.dev.nav.no");
2+
const isDevelopment =
3+
window.location.href.includes("www.intern.dev.nav.no") || window.location.href.includes("www.ansatt.dev.nav.no");
34

45
export const getEnvironment = () => {
56
if (isDevelopment) {
@@ -28,4 +29,3 @@ const MIN_SIDE_URL = {
2829
const tmsVarselAPI = TMS_VARSEL_API[getEnvironment()];
2930
export const minSideUrl = MIN_SIDE_URL[getEnvironment()];
3031
export const inaktiveVarslerApiUrl = `${tmsVarselAPI}/inaktive`;
31-
export const tidligereVarslerUrl = `${minSideUrl}/varslinger`;

0 commit comments

Comments
 (0)