From b2cf7fbced26445072019cfa1a827c6c0547a9e8 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 27 Jun 2023 16:45:31 +1000 Subject: [PATCH] Use 127.0.0.1 instead of localhost https://github.com/ankitects/anki/commit/248c4f007bc8fa718d9640ee1ce980b8e3f43a10#commitcomment-119760971 --- run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run b/run index 7f4a5f9ea..99e8db79c 100755 --- a/run +++ b/run @@ -11,7 +11,7 @@ export QTWEBENGINE_REMOTE_DEBUGGING=${QTWEBENGINE_REMOTE_DEBUGGING-8080} # http://localhost:40000/_anki/pages/deckconfig.html # Useful in conjunction with tools/web-watch for auto-rebuilding. export ANKI_API_PORT=${ANKI_API_PORT-40000} -export ANKI_API_HOST=${ANKI_API_HOST-localhost} +export ANKI_API_HOST=${ANKI_API_HOST-127.0.0.1} ./ninja pylib qt ./out/pyenv/bin/python tools/run.py $*