Fix pdf viewer when opening in docker.

Have envs for angular.
This commit is contained in:
aditya.chandel
2025-01-22 18:30:28 -07:00
parent df6d756dc5
commit 156e2439aa
9 changed files with 37 additions and 9 deletions
+3 -4
View File
@@ -1,4 +1,3 @@
export const API_CONFIG = {
BASE_URL: `http://localhost:${window.location.port || 8080}`,
BROKER_URL: `ws://localhost:${window.location.port || 8080}/ws`
};
import {environment} from '../../environments/environment';
export const API_CONFIG = environment.API_CONFIG;