From 9d4d6bd98b65e0b68295b26ce9a5df9f5053e7c1 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/d5b5b861e24fccf8248dc9786afa13faea203755#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 $*