We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dcfd50 commit dee845cCopy full SHA for dee845c
1 file changed
DataScience/BangloreHomePrices/client/app.js
@@ -26,7 +26,7 @@ function onClickedEstimatePrice() {
26
var location = document.getElementById("uiLocations");
27
var estPrice = document.getElementById("uiEstimatedPrice");
28
29
- // 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
30
var url = "/api/predict_home_price"; // Use this if you are using nginx. i.e tutorial 8 and onwards
31
32
$.post(url, {
@@ -59,4 +59,4 @@ function onPageLoad() {
59
});
60
}
61
62
-window.onload = onPageLoad;
+window.onload = onPageLoad;
0 commit comments