Correction window.location.href -> window.location.origin

This commit is contained in:
FyloZ 2021-06-09 21:36:06 -04:00
parent f6bbc51bdc
commit abce27c5f6
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
export const environment = {
production: true,
apiUrl: 'https://cre.fyloz.dev/api'
apiUrl: window.location.origin + '/api'
};