Skip to content

Commit dee845c

Browse files
Update app.js (#33)
I have added the comment symbol in line number 29. Many people faced the error and commented on comment section for help.
1 parent 9dcfd50 commit dee845c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • DataScience/BangloreHomePrices/client

DataScience/BangloreHomePrices/client/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function onClickedEstimatePrice() {
2626
var location = document.getElementById("uiLocations");
2727
var estPrice = document.getElementById("uiEstimatedPrice");
2828

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
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
3030
var url = "/api/predict_home_price"; // Use this if you are using nginx. i.e tutorial 8 and onwards
3131

3232
$.post(url, {
@@ -59,4 +59,4 @@ function onPageLoad() {
5959
});
6060
}
6161

62-
window.onload = onPageLoad;
62+
window.onload = onPageLoad;

0 commit comments

Comments
 (0)