Base Url implementation (#1824)

* Base Url implementation

* PR requested changes
This commit is contained in:
Gazy Mahomar 2023-03-11 14:47:40 +01:00 committed by GitHub
parent 74f62fd5e2
commit 2cff1bcebe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 134 additions and 9 deletions

View file

@ -1,5 +1,8 @@
import { getBaseUrl } from "src/app/base-url.provider";
const BASE_URL = getBaseUrl();
export const environment = {
production: true,
apiUrl: '/api/',
hubUrl: '/hubs/'
apiUrl: `${BASE_URL}api/`,
hubUrl:`${BASE_URL}hubs/`
};