From b42a3d0d66712b8da71e6f7984b3cf16d3e304fc Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Mon, 13 May 2019 03:38:29 -0400 Subject: removed unneeded config values added config options --- getwtxt.json | 7 ++++++- types.go | 1 - 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/getwtxt.json b/getwtxt.json index 55f8acb..c11c8e5 100644 --- a/getwtxt.json +++ b/getwtxt.json @@ -2,5 +2,10 @@ "port": 9001, "stdoutLogging": true, "logfile": "getwtxt.log", - "twtxtfile": "/var/twtxt/twtxt.txt" + "instance": { + "name": "getwtxt", + "url": "https://twtxt.example.com", + "owner": "gbmor", + "ownermail": "ben@gbmor.dev" + } } diff --git a/types.go b/types.go index 597c423..e25e066 100644 --- a/types.go +++ b/types.go @@ -8,6 +8,5 @@ const htmlutf8 = "text/html; charset=utf8" type configuration struct { port int logfile string - twtxtfile string stdoutLogging bool } -- cgit 1.4.1-2-gfad0