fix ending extension to prod server

This commit is contained in:
German Correa 2017-12-05 12:38:15 -03:00
parent fe1762bf08
commit 98baf9acc6

View File

@ -72,7 +72,7 @@ $().ready(function(){
formdata.find(item => item.name === "roomtype").value = $("#roomtype").select2("data")[0].text; formdata.find(item => item.name === "roomtype").value = $("#roomtype").select2("data")[0].text;
var parameters = $.param(formdata); var parameters = $.param(formdata);
console.log(parameters); console.log(parameters);
var post = $.post('api/register.php', parameters); var post = $.post('api/register', parameters);
post.done(function(data){ post.done(function(data){
console.log(data); console.log(data);
}); });