aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
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"`