Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DataScience/BangloreHomePrices/client/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function onClickedEstimatePrice() {
var location = document.getElementById("uiLocations");
var estPrice = document.getElementById("uiEstimatedPrice");

// var url = "http://127.0.0.1:5000/predict_home_price"; Use this if you are NOT using nginx which is first 7 tutorials
// var url = "http://127.0.0.1:5000/predict_home_price"; //Use this if you are NOT using nginx which is first 7 tutorials
var url = "/api/predict_home_price"; // Use this if you are using nginx. i.e tutorial 8 and onwards

$.post(url, {
Expand Down Expand Up @@ -59,4 +59,4 @@ function onPageLoad() {
});
}

window.onload = onPageLoad;
window.onload = onPageLoad;