Fixing pusher and back url
This commit is contained in:
parent
15565c9a29
commit
f6803b6d5d
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user