diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-05-13 03:38:29 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-05-13 03:43:07 -0400 |
commit | b42a3d0d66712b8da71e6f7984b3cf16d3e304fc (patch) | |
tree | 58ca799f0b7fa7a48dc5fb95b0ff007fe9bc0cf6 | |
parent | 35046eb58e3c5cc0c3e73d6ff46bc735b6076d17 (diff) | |
download | getwtxt-b42a3d0d66712b8da71e6f7984b3cf16d3e304fc.tar.gz |
removed unneeded config values
added config options
-rw-r--r-- | getwtxt.json | 7 | ||||
-rw-r--r-- | 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 } |