From db1f38c6320aa415b4e1eef0f2a919b3ffa85e00 Mon Sep 17 00:00:00 2001 From: MarkEhlerNV Date: Sat, 27 Jan 2024 10:43:08 -0500 Subject: [PATCH] update --- run.py | 3 ++- ufarms-react-client/package.json | 2 +- ufarms-react-client/proxynote.txt | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 ufarms-react-client/proxynote.txt diff --git a/run.py b/run.py index 4a5a571..c9a7ac5 100644 --- a/run.py +++ b/run.py @@ -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') diff --git a/ufarms-react-client/package.json b/ufarms-react-client/package.json index 9ff9a19..c0cc7ce 100644 --- a/ufarms-react-client/package.json +++ b/ufarms-react-client/package.json @@ -38,4 +38,4 @@ ] }, "proxy": "https://ufarms-9d60c4fe466e.herokuapp.com/" -} +} \ No newline at end of file diff --git a/ufarms-react-client/proxynote.txt b/ufarms-react-client/proxynote.txt new file mode 100644 index 0000000..f857ebd --- /dev/null +++ b/ufarms-react-client/proxynote.txt @@ -0,0 +1 @@ +"proxy": "http://localhost:5000/" \ No newline at end of file