about summary refs log tree commit diff stats
path: root/internal/server
diff options
context:
space:
mode:
Diffstat (limited to 'internal/server')
-rw-r--r--internal/server/dev.go3
-rw-r--r--internal/server/logging.go3
-rw-r--r--internal/server/mime.go3
-rw-r--r--internal/server/server.go10
-rw-r--r--internal/server/tcp.go2
-rw-r--r--internal/server/tls.go5
6 files changed, 15 insertions, 11 deletions
diff --git a/internal/server/dev.go b/internal/server/dev.go
index aac869d..b984704 100644
--- a/internal/server/dev.go
+++ b/internal/server/dev.go
@@ -9,7 +9,8 @@ import (
 	"path/filepath"
 	"slices"
 	"time"
-	"website/internal/log"
+
+	"go.alanpearce.eu/website/internal/log"
 
 	"github.com/fsnotify/fsnotify"
 	"github.com/pkg/errors"
diff --git a/internal/server/logging.go b/internal/server/logging.go
index 7df35d7..20f0a92 100644
--- a/internal/server/logging.go
+++ b/internal/server/logging.go
@@ -2,7 +2,8 @@ package server
 
 import (
 	"net/http"
-	"website/internal/log"
+
+	"go.alanpearce.eu/website/internal/log"
 )
 
 type LoggingResponseWriter struct {
diff --git a/internal/server/mime.go b/internal/server/mime.go
index 696a0ad..3a1ec8a 100644
--- a/internal/server/mime.go
+++ b/internal/server/mime.go
@@ -2,7 +2,8 @@ package server
 
 import (
 	"mime"
-	"website/internal/log"
+
+	"go.alanpearce.eu/website/internal/log"
 )
 
 var newMIMEs = map[string]string{
diff --git a/internal/server/server.go b/internal/server/server.go
index c7b5659..c17c8d6 100644
--- a/internal/server/server.go
+++ b/internal/server/server.go
@@ -13,11 +13,11 @@ import (
 	"strings"
 	"time"
 
-	"website/internal/builder"
-	cfg "website/internal/config"
-	"website/internal/log"
-	"website/internal/vcs"
-	"website/internal/website"
+	"go.alanpearce.eu/website/internal/builder"
+	cfg "go.alanpearce.eu/website/internal/config"
+	"go.alanpearce.eu/website/internal/log"
+	"go.alanpearce.eu/website/internal/vcs"
+	"go.alanpearce.eu/website/internal/website"
 
 	"github.com/ardanlabs/conf/v3"
 	"github.com/osdevisnot/sorvor/pkg/livereload"
diff --git a/internal/server/tcp.go b/internal/server/tcp.go
index b38da3d..4efde7d 100644
--- a/internal/server/tcp.go
+++ b/internal/server/tcp.go
@@ -1,7 +1,7 @@
 package server
 
 import (
-	"website/internal/listenfd"
+	"go.alanpearce.eu/website/internal/listenfd"
 )
 
 func (s *Server) serveTCP() error {
diff --git a/internal/server/tls.go b/internal/server/tls.go
index fa9e69a..d48b5df 100644
--- a/internal/server/tls.go
+++ b/internal/server/tls.go
@@ -6,8 +6,9 @@ import (
 	"net"
 	"net/http"
 	"strconv"
-	"website/internal/listenfd"
-	"website/internal/log"
+
+	"go.alanpearce.eu/website/internal/listenfd"
+	"go.alanpearce.eu/website/internal/log"
 
 	"github.com/ardanlabs/conf/v3"
 	"github.com/caddyserver/caddy/v2"