From 3ad35832835fa0554b6fa28b74e9b7d21283392b Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Thu, 16 Mar 2023 18:37:12 +0900 Subject: Listen on Unix socket instead of TCP --- spec/helper.cr | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'spec/helper.cr') 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" => ""}}) -- cgit 1.4.1