Commit 57b98817 authored by Markus Hermann's avatar Markus Hermann 🏈
Browse files

fix: Endpoint url fixed

parent babb3ac5
......@@ -5,7 +5,7 @@ class Poll {
* @param {object} pollContainer
*/
constructor(pollContainer) {
this.endpointURL = "https://testwww.digll-hessen.local/wp-admin/admin-ajax.php";
this.endpointURL = "/wp-admin/admin-ajax.php";
this.container = pollContainer;
this.id = jQuery(this.container).attr("data-poll-id");
this.nonce = jQuery(this.container).attr("data-poll-nonce");
......
Supports Markdown
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