Skip to content

Commit

Permalink
fix remote
Browse files Browse the repository at this point in the history
Signed-off-by: George Lemon <[email protected]>
  • Loading branch information
georgelemon committed Oct 15, 2023
1 parent 7a5db6f commit 6167788
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test1.nim
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import std/[unittest, parsecfg, strutils, asyncdispatch, json]
import typesense

let
# dict = loadConfig("/etc/typesense/typesense-server.ini")
# rootkey = dict.getSectionValue("server", "api-key").strip()
# address = "0.0.0.0"
rootkey = "bV9ZXnOpBFc1CPivLCvZ74OuutTniiei44lyziQqrFgACsZy"
address = "10.242.195.202"
dict = loadConfig("/etc/typesense/typesense-server.ini")
rootkey = dict.getSectionValue("server", "api-key").strip()
address = "0.0.0.0"
# rootkey = "bV9ZXnOpBFc1CPivLCvZ74OuutTniiei44lyziQqrFgACsZy"
# address = "10.242.195.202"

template newTypesenseClient() {.dirty.} =
var ts = newClient(address, rootkey, Port(8108))
Expand Down

0 comments on commit 6167788

Please sign in to comment.