From 6e26d56cf3e3f9f70271f558e2f5e95d04cd3c7d Mon Sep 17 00:00:00 2001 From: vapao Date: Mon, 13 Jan 2020 18:24:53 +0800 Subject: [PATCH] U api update --- spug_api/tools/start-api.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spug_api/tools/start-api.sh b/spug_api/tools/start-api.sh index cb1857d..bcf5ca9 100644 --- a/spug_api/tools/start-api.sh +++ b/spug_api/tools/start-api.sh @@ -2,4 +2,4 @@ # start api service cd $(dirname $(dirname $0)) source ./venv/bin/activate -exec gunicorn -b :9001 -w 2 --threads 8 --access-logfile - spug.wsgi \ No newline at end of file +exec gunicorn -b 127.0.0.1:9001 -w 2 --threads 8 --access-logfile - spug.wsgi \ No newline at end of file