summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-19 09:02:23 +0530
committerLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-19 09:02:23 +0530
commitdf0962a39ebef3853cbe90b3f7b07f7d2fce96d6 (patch)
treef293cb914ea3cf9da599a90b55793c8dbf5217c8 /config
parent232a3603a6dc67537109cec06e738b596265475c (diff)
downloadlegit-df0962a39ebef3853cbe90b3f7b07f7d2fce96d6.tar.gz
legit-df0962a39ebef3853cbe90b3f7b07f7d2fce96d6.tar.bz2
legit-df0962a39ebef3853cbe90b3f7b07f7d2fce96d6.zip
all: no more pretty urls
Diffstat (limited to '')
-rw-r--r--config.yaml5
-rw-r--r--config/config.go7
2 files changed, 2 insertions, 10 deletions
diff --git a/config.yaml b/config.yaml
index 820d69d..7333e95 100644
--- a/config.yaml
+++ b/config.yaml
@@ -14,10 +14,7 @@ dirs:
meta:
title: git good
description: i think it's a skill issue
-misc:
- goImport:
- prettyURL: icyphox.sh
server:
- fqdn: git.icyphox.sh
+ name: git.icyphox.sh
host: 127.0.0.1
port: 5555
diff --git a/config/config.go b/config/config.go
index 6867129..743b2f5 100644
--- a/config/config.go
+++ b/config/config.go
@@ -21,13 +21,8 @@ type Config struct {
Title string `yaml:"title"`
Description string `yaml:"description"`
} `yaml:"meta"`
- Misc struct {
- GoImport struct {
- PrettyURL string `yaml:"prettyURL"`
- } `yaml:"goImport"`
- } `yaml:"misc"`
Server struct {
- FQDN string `yaml:"fqdn,omitempty"`
+ Name string `yaml:"fqdn,omitempty"`
Host string `yaml:"host"`
Port int `yaml:"port"`
} `yaml:"server"`