summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorElizabeth <elizabeth@simponic.xyz>2024-04-02 16:26:39 -0600
committerElizabeth <elizabeth@simponic.xyz>2024-04-02 16:26:39 -0600
commitbcdcc508ef4a0ae646937c91d0994a90bde719e1 (patch)
treee5ee5aa97d2bb898428bb278973c16cc28aaa16a /main.go
parent657be669482462ada3b88672ff7497b652848176 (diff)
downloadhatecomputers.club-bcdcc508ef4a0ae646937c91d0994a90bde719e1.tar.gz
hatecomputers.club-bcdcc508ef4a0ae646937c91d0994a90bde719e1.zip
add integration tests for dns server
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 2991821..e0f3e55 100644
--- a/main.go
+++ b/main.go
@@ -6,7 +6,7 @@ import (
"git.hatecomputers.club/hatecomputers/hatecomputers.club/api"
"git.hatecomputers.club/hatecomputers/hatecomputers.club/args"
"git.hatecomputers.club/hatecomputers/hatecomputers.club/database"
- "git.hatecomputers.club/hatecomputers/hatecomputers.club/dns"
+ "git.hatecomputers.club/hatecomputers/hatecomputers.club/hcdns"
"git.hatecomputers.club/hatecomputers/hatecomputers.club/scheduler"
"github.com/joho/godotenv"
)
@@ -52,7 +52,7 @@ func main() {
}
if argv.Dns {
- server := dns.MakeServer(argv, dbConn)
+ server := hcdns.MakeServer(argv, dbConn)
log.Println("🚀🚀 DNS resolver listening on port", argv.DnsPort)
go func() {
err = server.ListenAndServe()