From bc75dbe4a72210352c2b1c0983b35658d307dca5 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 29 Sep 2020 22:27:04 +0200 Subject: Much.API: make socket configurable --- src/Much/API/Config.hs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/Much/API/Config.hs (limited to 'src/Much/API') diff --git a/src/Much/API/Config.hs b/src/Much/API/Config.hs new file mode 100644 index 0000000..2e3b1cc --- /dev/null +++ b/src/Much/API/Config.hs @@ -0,0 +1,11 @@ +module Much.API.Config where + +data Config = Config + { socketPath :: FilePath + } + +emptyConfig :: Config +emptyConfig = + Config + { socketPath = "/tmp/much.api.sock" + } -- cgit v1.2.3