Commit 79a96684 authored by Geovanny Vera's avatar Geovanny Vera

Fixed replication of UI elements

parent 5438f039
...@@ -19,7 +19,10 @@ async function main(){ ...@@ -19,7 +19,10 @@ async function main(){
const ip = await publicIp.v4(); const ip = await publicIp.v4();
const response = await fetch('https://api.ev3.me/instances/add-world-server', { //const api = 'https://api.ev3.me/';
const api = 'http://localhost:1337/';
const response = await fetch(`${api}instances/add-world-server`, {
headers: { headers: {
'X-Orig-IP': ip 'X-Orig-IP': ip
} }
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment