diff --git a/js/customElements/blogFooter.js b/js/customElements/blogFooter.js
index 5be26eac8fc96f8965e90c596b06ba61cae492aa..14722a5a0af09bd200616562956609d4340bbc52 100644
--- a/js/customElements/blogFooter.js
+++ b/js/customElements/blogFooter.js
@@ -17,7 +17,7 @@ class blogFooter extends HTMLElement {
         method: 'POST',
         body: graphql,
         };
-        let posts = (await (await fetch("http://localhost:1234/API/graphql.php", requestOptions)).json()).data.blogPosts;
+        let posts = (await (await fetch("/API/graphql.php", requestOptions)).json()).data.blogPosts;
         posts.forEach((element) => {
             let li = document.createElement("li");
             let a = document.createElement("a");
diff --git a/js/customElements/blogIndex.js b/js/customElements/blogIndex.js
index b3091b00495caed466437c481f72e87a4938e360..a1a95cfaf935de618ba4ac2bce7a663766fae75d 100644
--- a/js/customElements/blogIndex.js
+++ b/js/customElements/blogIndex.js
@@ -16,7 +16,7 @@ class BlogIndex extends HTMLElement {
         method: 'POST',
         body: graphql,
         };
-        let posts = (await (await fetch("http://localhost:1234/API/graphql.php", requestOptions)).json()).data.blogPosts;
+        let posts = (await (await fetch("/API/graphql.php", requestOptions)).json()).data.blogPosts;
         posts.forEach((element) => {
             const article = document.createElement("article");
             article.classList.add("breakWord");
diff --git a/js/customElements/commentsDisplay.js b/js/customElements/commentsDisplay.js
index 48a2c5f1739ac052c49f881e1d239af4d44db02b..e301dd1799f9d3df274195b4cc1aefcee1dcc8de 100644
--- a/js/customElements/commentsDisplay.js
+++ b/js/customElements/commentsDisplay.js
@@ -15,7 +15,7 @@ class commentsDisplay extends HTMLElement {
         method: 'POST',
         body: graphql,
         };
-        let comments = (await (await fetch("http://localhost:1234/API/graphql.php", requestOptions)).json()).data.comments;
+        let comments = (await (await fetch("/API/graphql.php", requestOptions)).json()).data.comments;
         this.innerHTML = "";
         comments.forEach((element) => {
             const h3 = document.createElement("h3");
diff --git a/js/customElements/ebkBanner.js b/js/customElements/ebkBanner.js
index 9ff55f32438a20c6fbcd298fe86a0ba45f085d6e..accb1ed89590aa3715cd9b92983776d035ae7a61 100644
--- a/js/customElements/ebkBanner.js
+++ b/js/customElements/ebkBanner.js
@@ -12,7 +12,7 @@ class ebkBanner extends HTMLElement {
             method: 'POST',
             body: graphql,
         };
-        let elementCount = (await (await fetch("http://localhost:1234/API/graphql.php", requestOptions)).json()).data.ebayKleinanzeigen.count;
+        let elementCount = (await (await fetch("/API/graphql.php", requestOptions)).json()).data.ebayKleinanzeigen.count;
         if(elementCount > 0) {
             const h2 = document.createElement("h2");
             h2.classList.add("red");
diff --git a/js/customElements/newComment.js b/js/customElements/newComment.js
index 4e8d9444e7405effc4294f9ed71d305bbafad26a..0fd60c3279a0ee5643d0d484dda91a8219252d10 100644
--- a/js/customElements/newComment.js
+++ b/js/customElements/newComment.js
@@ -117,7 +117,7 @@ class newComment extends HTMLElement {
                 method: 'POST',
                 body: graphql,
                 };
-                let data = (await (await fetch("http://localhost:1234/API/graphql.php", requestOptions)).json()).data;
+                let data = (await (await fetch("/API/graphql.php", requestOptions)).json()).data;
                 if(data.newComment == "OK"){
                     document.querySelector("jl-comments_display").getComments();
                     parent.innerHTML = "<jl-new_comment></jl-new_comment>"
diff --git a/js/customElements/sellingTable.js b/js/customElements/sellingTable.js
index 53bb82da5e084cbab7914d1a242f3dd6581ea855..bfd448292a62f95096b9b2717448ff864c35c28b 100644
--- a/js/customElements/sellingTable.js
+++ b/js/customElements/sellingTable.js
@@ -60,7 +60,7 @@ class sellingTable extends HTMLElement {
             method: 'POST',
             body: graphql,
         };
-        let elements = (await (await fetch("http://localhost:1234/API/graphql.php", requestOptions)).json()).data.ebayKleinanzeigen.elements;
+        let elements = (await (await fetch("/API/graphql.php", requestOptions)).json()).data.ebayKleinanzeigen.elements;
         elements.forEach(ad => {
             const tr = document.createElement("tr");
             table.appendChild(tr);
diff --git a/js/viewPost.js b/js/viewPost.js
index c7e3d63d778457ac1d048e2668fc5d9ddf94197b..dfd5dd13cf6374a24ed2ec4ea61bdb9f8e4c324a 100644
--- a/js/viewPost.js
+++ b/js/viewPost.js
@@ -36,7 +36,7 @@ async function loadPost() {
         method: 'POST',
         body: graphql,
         };
-        let post = (await (await fetch("http://localhost:1234/API/graphql.php", requestOptions)).json()).data.blogPost;
+        let post = (await (await fetch("/API/graphql.php", requestOptions)).json()).data.blogPost;
         content.innerHTML = post["content"];
         document.title = post["title"] + " - Jonas Leder";
 
diff --git a/public/impressum.html b/public/impressum.html
index 55ec96f6fb92889d2abd8e4fefcef34bae6df3a5..62e7384222cf0dc431b1d07cefb48c381c2cf21e 100644
--- a/public/impressum.html
+++ b/public/impressum.html
@@ -60,7 +60,7 @@
                 method: 'POST',
                 body: graphql,
                 };
-                let mailAddress = (await (await fetch("http://localhost:1234/API/graphql.php", requestOptions)).json()).data.mailAddress;
+                let mailAddress = (await (await fetch("/API/graphql.php", requestOptions)).json()).data.mailAddress;
 
                 let button = document.getElementById("emailButton");
                 let emailElement = document.createElement("p");