From 38736e6bb8c56cc8227ed2bc3b874f1c6d2ab360 Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Mon, 12 Jul 2021 15:22:40 -0400 Subject: [PATCH] Update npm run start:api command to point to new WSGI path --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ac29a77..5d6c6f4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "webqueue2", "homepage": "", - "proxy": "http://localhost:5000/", + "proxy": "http://localhost:8000/", "version": "0.9.1", "private": true, "dependencies": { @@ -23,7 +23,7 @@ }, "scripts": { "start:frontend": "react-scripts start", - "start:api": "cd api/ && venv/bin/gunicorn -b 127.0.0.1:5000 --log-level debug api:app", + "start:api": "cd api/ && venv/bin/gunicorn -b 127.0.0.1:8000 --log-level debug webqueue2api.api:app", "start:docs": "start-storybook -p 6006 -s public -c storybook-config --no-manager-cache", "build:frontend": "react-scripts build", "build:docs": "build-storybook -s public -c storybook-config -o build-docs",