From 6627a0254004d87fcff0207586b0ad0757c8a557 Mon Sep 17 00:00:00 2001 From: Henri Vasserman Date: Tue, 13 Jun 2023 13:36:31 +0300 Subject: [PATCH] Allow overriding the server address --- examples/server/chat.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/server/chat.sh b/examples/server/chat.sh index e2b50fb44..a89f8e908 100644 --- a/examples/server/chat.sh +++ b/examples/server/chat.sh @@ -1,6 +1,6 @@ #!/bin/bash -API_URL="http://127.0.0.1:8080" +API_URL="${API_URL:-http://127.0.0.1:8080}" CHAT=( "Hello, Assistant."