deployed on dicomv.aplikasi.web.id: work pdf and others

This commit is contained in:
mario
2025-05-23 11:38:43 +07:00
parent 0bb6d19e92
commit 305eaf11ee
4 changed files with 10 additions and 10 deletions

View File

@@ -31,7 +31,7 @@ const Login = () => {
try {
// Use window.config.goProxyHost for authentication endpoint
const proxyHost = window.config?.goProxyHost || `http://${window.location.hostname}:5555`;
const proxyHost = window.config?.goProxyHost || `https://${window.location.hostname}:5555`;
const authEndpoint = `${proxyHost}/auth/login`;
// Call go-ohif-proxy login endpoint

View File

@@ -35,7 +35,7 @@ const ShortlinkLogin = () => {
try {
// Use window.config.goProxyHost for authentication endpoint
const proxyHost = window.config?.goProxyHost || `http://${window.location.hostname}:5555`;
const proxyHost = window.config?.goProxyHost || `https://${window.location.hostname}:5555`;
const authEndpoint = `${proxyHost}/auth/shortlink`;
// Call the shortlink authentication endpoint