Fixing pusher and back url

This commit is contained in:
David Négrier 2021-12-06 15:38:30 +01:00
parent 15565c9a29
commit f6803b6d5d

View File

@ -5,7 +5,7 @@ export async function getPusherDump(): Promise<any> {
let url = 'http://pusher.workadventure.localhost/dump?token=123';
if (fs.existsSync('/project')) {
// We are inside a container. Let's use a direct route
url = 'http://pusher/dump?token=123';
url = 'http://pusher:8080/dump?token=123';
}
return (await axios({
@ -19,7 +19,7 @@ export async function getBackDump(): Promise<any> {
let url = 'http://api.workadventure.localhost/dump?token=123';
if (fs.existsSync('/project')) {
// We are inside a container. Let's use a direct route
url = 'http://back/dump?token=123';
url = 'http://back:8080/dump?token=123';
}
return (await axios({