summary refs log tree commit diff homepage
path: root/spec/helper.cr
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2023-03-16 18:37:12 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2023-03-16 18:37:12 +0900
commit3ad35832835fa0554b6fa28b74e9b7d21283392b (patch)
tree41f44e442e964e0ec0da38392b5518bd9f964989 /spec/helper.cr
parent64c3842e02e65bb173d275e4ac2cdbea5afcf562 (diff)
downloadhybring-main.tar.gz
Listen on Unix socket instead of TCP HEAD main
Diffstat (limited to 'spec/helper.cr')
-rw-r--r--spec/helper.cr11
1 files changed, 7 insertions, 4 deletions
diff --git a/spec/helper.cr b/spec/helper.cr
index 6fe13e5..01f2f95 100644
--- a/spec/helper.cr
+++ b/spec/helper.cr
@@ -21,9 +21,12 @@ require "spec"
 
 require "../src/cli"
 
-CONFIG = Configuration.new({"general" => {"db" => File.tempname,
-                                          "api" => "/"},
+CONFIG = Configuration.new({"general" => {"sock" => File.tempname,
+                                          "db" => File.tempname,
+                                          "css" => "eg/style.css"},
                             "opennic" => {"local" => File.tempname,
-                                          "remote" => "http://example.null"},
+                                          "remote" => "http://example.null/",
+                                          "api" => ""},
                             "icann" => {"local" => File.tempname,
-                                          "remote" => "http://example.net"}})
+                                        "remote" => "http://example.net/",
+                                        "api" => ""}})