:gears: configure endpoints to use docker port locally

Signed-off-by: tykayn <15d65f2f-0b14-4f70-bf34-e130180ed62b@users.tedomum.net>
This commit is contained in:
tykayn 2023-01-23 12:23:03 +01:00
parent 10bbf12ab6
commit 481190f3bf

View File

@ -1,12 +1,12 @@
export const backendApiUrlsInDev = { export const backendApiUrlsInDev = {
// local: 'http://tktest.lan/api/v1', // local: 'http://tktest.lan/api/v1',
// remote: 'http://tktest.lan/api/v1', // remote: 'http://tktest.lan/api/v1',
// local: 'http://localhost:8000/api/v1', local: 'http://localhost:8000/api/v1', // the docker port is this one
local: 'http://www.tk.lan/index.php/api/v1', // local: 'http://www.tk.lan/index.php/api/v1',
// local: 'https://framadate-api.cipherbliss.com/api/v1', // local: 'https://framadate-api.cipherbliss.com/api/v1',
// remote: 'http://localhost:8000/api/v1', // remote: 'http://localhost:8000/api/v1',
remote: 'http://www.tk.lan/index.php/api/v1', // remote: 'http://www.tk.lan/index.php/api/v1',
// remote: 'https://framadate-api.cipherbliss.com/api/v1', remote: 'https://framadate-api.cipherbliss.com/api/v1',
}; };
export const apiV1 = { export const apiV1 = {
// baseHref: 'http://localhost:8000/api/v1', // local "symfony serve" live server // baseHref: 'http://localhost:8000/api/v1', // local "symfony serve" live server