@@ -31,8 +31,6 @@ import {
3131 selectLicensingMhlmHasEntitlements ,
3232 selectIsEntitled ,
3333 selectLicensingInfo ,
34- selectUseMOS ,
35- selectUseMRE ,
3634 selectIsConcurrent ,
3735 selectWasEverActive ,
3836 selectIsConcurrencyEnabled ,
@@ -73,8 +71,6 @@ function App () {
7371 const isAuthenticated = useSelector ( selectIsAuthenticated ) ;
7472 const authEnabled = useSelector ( selectAuthEnabled ) ;
7573 const licensingInfo = useSelector ( selectLicensingInfo ) ;
76- const useMOS = useSelector ( selectUseMOS ) ;
77- const useMRE = useSelector ( selectUseMRE ) ;
7874 const isSessionConcurrent = useSelector ( selectIsConcurrent ) ;
7975 const isActiveClient = useSelector ( selectIsActiveClient ) ;
8076 const isConcurrencyEnabled = useSelector ( selectIsConcurrencyEnabled ) ;
@@ -163,12 +159,11 @@ function App () {
163159 } , [ ] ) ;
164160
165161 const htmlToRenderMATLAB = ( ) => {
166- let theHtmlToRenderMATLAB = useMOS
167- ? 'index-matlabonlineserver.html'
168- : 'index-jsd-cr.html' ;
169- if ( useMRE ) {
170- theHtmlToRenderMATLAB += `?mre=${ encodeURIComponent ( fullyQualifiedUrl ) } ` ;
171- }
162+ let theHtmlToRenderMATLAB = 'index-jsd-cr.html' ;
163+
164+ // Add mre query parameter
165+ theHtmlToRenderMATLAB += `?mre=${ encodeURIComponent ( fullyQualifiedUrl ) } ` ;
166+
172167 return theHtmlToRenderMATLAB ;
173168 } ;
174169
@@ -377,7 +372,6 @@ function App () {
377372 // process in development mode
378373
379374 // MW Internal Comment: See g2992889 for a discussion on why a FQDN is required in the MRE parameter.
380- // MW Internal Comment: Using websocket on breaks some UI components : `./index-matlabonlineserver.html?websocket=on&mre=${fullyQualifiedUrl}`;
381375 const matlabUrl = process . env . NODE_ENV === 'development'
382376 ? 'http://localhost:31515/index-jsd-cr.html'
383377 : `./${ htmlToRenderMATLAB ( ) } ` ;
0 commit comments