summaryrefslogtreecommitdiffhomepage
path: root/caddyhttp/errors
diff options
context:
space:
mode:
Diffstat (limited to 'caddyhttp/errors')
-rw-r--r--caddyhttp/errors/errors.go6
-rw-r--r--caddyhttp/errors/errors_test.go2
-rw-r--r--caddyhttp/errors/setup.go4
-rw-r--r--caddyhttp/errors/setup_test.go4
4 files changed, 8 insertions, 8 deletions
diff --git a/caddyhttp/errors/errors.go b/caddyhttp/errors/errors.go
index fd09f8fb1..5e10b2d04 100644
--- a/caddyhttp/errors/errors.go
+++ b/caddyhttp/errors/errors.go
@@ -24,8 +24,8 @@ import (
"strings"
"time"
- "github.com/mholt/caddy"
- "github.com/mholt/caddy/caddyhttp/httpserver"
+ "github.com/caddyserver/caddy"
+ "github.com/caddyserver/caddy/caddyhttp/httpserver"
)
func init() {
@@ -142,7 +142,7 @@ func (h ErrorHandler) recovery(w http.ResponseWriter, r *http.Request) {
}
// Trim file path
- delim := "/github.com/mholt/caddy/"
+ delim := "/github.com/caddyserver/caddy/"
pkgPathPos := strings.Index(file, delim)
if pkgPathPos > -1 && len(file) > pkgPathPos+len(delim) {
file = file[pkgPathPos+len(delim):]
diff --git a/caddyhttp/errors/errors_test.go b/caddyhttp/errors/errors_test.go
index 9fad91173..591d8d949 100644
--- a/caddyhttp/errors/errors_test.go
+++ b/caddyhttp/errors/errors_test.go
@@ -26,7 +26,7 @@ import (
"strings"
"testing"
- "github.com/mholt/caddy/caddyhttp/httpserver"
+ "github.com/caddyserver/caddy/caddyhttp/httpserver"
)
func TestErrors(t *testing.T) {
diff --git a/caddyhttp/errors/setup.go b/caddyhttp/errors/setup.go
index bcda1c8b3..d37c81fc9 100644
--- a/caddyhttp/errors/setup.go
+++ b/caddyhttp/errors/setup.go
@@ -20,8 +20,8 @@ import (
"path/filepath"
"strconv"
- "github.com/mholt/caddy"
- "github.com/mholt/caddy/caddyhttp/httpserver"
+ "github.com/caddyserver/caddy"
+ "github.com/caddyserver/caddy/caddyhttp/httpserver"
)
// setup configures a new errors middleware instance.
diff --git a/caddyhttp/errors/setup_test.go b/caddyhttp/errors/setup_test.go
index b13aecf00..74e0efa2e 100644
--- a/caddyhttp/errors/setup_test.go
+++ b/caddyhttp/errors/setup_test.go
@@ -19,8 +19,8 @@ import (
"reflect"
"testing"
- "github.com/mholt/caddy"
- "github.com/mholt/caddy/caddyhttp/httpserver"
+ "github.com/caddyserver/caddy"
+ "github.com/caddyserver/caddy/caddyhttp/httpserver"
)
func TestSetup(t *testing.T) {