File tree 1 file changed +1
-10
lines changed
packages/internarbeidsflate-decorator-v3/src/utils
1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -58,13 +58,6 @@ const naisDomain = (environment: Environment) => {
58
58
return '.intern.dev.nav.no' ;
59
59
} ;
60
60
61
- const ansattDomain = ( environment : Environment ) => {
62
- if ( environment === 'prod' ) {
63
- return '.ansatt.nav.no' ;
64
- }
65
- return '.ansatt.dev.nav.no' ;
66
- } ;
67
-
68
61
const modiaUrl = (
69
62
fnr : string | undefined | null ,
70
63
path : string ,
@@ -100,10 +93,8 @@ export const wsEventDistribusjon = (
100
93
switch ( urlFormat ) {
101
94
case 'LOCAL' :
102
95
return 'ws://localhost:4000/ws/' ;
103
- case 'ANSATT' :
104
- return `wss://modiaeventdistribution${ ansattDomain ( environment ) } /ws/` ;
105
96
default :
106
- return `wss://modiaeventdistribution ${ naisDomain ( environment ) } /ws/` ;
97
+ return `wss://modiacontextholder ${ naisDomain ( environment ) } /ws/` ;
107
98
}
108
99
} ;
109
100
You can’t perform that action at this time.
0 commit comments