edit FE shorlink auth, no login route, deployed dicomv.aplikasi.web.id
This commit is contained in:
@@ -88,7 +88,8 @@ function createDicomWebApi(dicomWebConfig, servicesManager) {
|
||||
|
||||
const authToken = sessionStorage.getItem('ohif-auth-token');
|
||||
if (!authToken) {
|
||||
window.location.href = '/login';
|
||||
// window.location.href = '/login'; // Kalau mau pakae login tinggal uncomment
|
||||
window.location.href = '/';
|
||||
return;
|
||||
}
|
||||
xhrRequestHeaders.Authorization = `Bearer ${authToken}`;
|
||||
|
||||
Reference in New Issue
Block a user