diff --git a/ND_Core/source/ui/index.html b/ND_Core/source/ui/index.html
index a4af9e3..5189486 100644
--- a/ND_Core/source/ui/index.html
+++ b/ND_Core/source/ui/index.html
@@ -22,7 +22,7 @@
}
}
function tp(x, y, z, name) {
- $.post("https://ND_Core/tpToLocation", JSON.stringify({
+ $.post(`https://${GetParentResourceName()}/tpToLocation`, JSON.stringify({
x: x,
y: y,
z: z,