Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEhler2 committed Jan 27, 2024
1 parent 692bdd7 commit db1f38c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
from flask.helpers import send_from_directory
from flask_cors import CORS, cross_origin

app = Flask(__name__, static_folder='ufarms-react-client/build', static_url_path='')
app = Flask(__name__)
# , static_folder='ufarms-react-client/build', static_url_path=''
CORS(app)

@app.route('/time')
Expand Down
2 changes: 1 addition & 1 deletion ufarms-react-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@
]
},
"proxy": "https://ufarms-9d60c4fe466e.herokuapp.com/"
}
}
1 change: 1 addition & 0 deletions ufarms-react-client/proxynote.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"proxy": "http://localhost:5000/"

0 comments on commit db1f38c

Please sign in to comment.