From 98baf9acc64de04627effef9084167fc2b4aa3b0 Mon Sep 17 00:00:00 2001 From: German Correa Date: Tue, 5 Dec 2017 12:38:15 -0300 Subject: [PATCH] fix ending extension to prod server --- js/registerform.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/registerform.js b/js/registerform.js index 4f977fe..59ba031 100644 --- a/js/registerform.js +++ b/js/registerform.js @@ -72,7 +72,7 @@ $().ready(function(){ formdata.find(item => item.name === "roomtype").value = $("#roomtype").select2("data")[0].text; var parameters = $.param(formdata); console.log(parameters); - var post = $.post('api/register.php', parameters); + var post = $.post('api/register', parameters); post.done(function(data){ console.log(data); });