summaryrefslogtreecommitdiff
path: root/src/http
diff options
context:
space:
mode:
Diffstat (limited to 'src/http')
-rw-r--r--src/http/apiutil/apiutil.go2
-rw-r--r--src/http/assets.go4
-rw-r--r--src/http/auth.go2
-rw-r--r--src/http/csrf.go2
-rw-r--r--src/http/drafts.go4
-rw-r--r--src/http/feed.go4
-rw-r--r--src/http/http.go14
-rw-r--r--src/http/middleware.go8
-rw-r--r--src/http/posts.go10
-rw-r--r--src/http/tpl.go2
-rw-r--r--src/http/tpl/base.html2
-rw-r--r--src/http/tpl/index.html2
12 files changed, 28 insertions, 28 deletions
diff --git a/src/http/apiutil/apiutil.go b/src/http/apiutil/apiutil.go
index c59104c..2151d83 100644
--- a/src/http/apiutil/apiutil.go
+++ b/src/http/apiutil/apiutil.go
@@ -13,7 +13,7 @@ import (
"strconv"
"strings"
- "github.com/mediocregopher/mediocre-go-lib/v2/mlog"
+ "dev.mediocregopher.com/mediocre-go-lib.git/mlog"
)
// TODO I don't think Set/GetRequestLogger are necessary? Seems sufficient to
diff --git a/src/http/assets.go b/src/http/assets.go
index 70653e0..79ab98c 100644
--- a/src/http/assets.go
+++ b/src/http/assets.go
@@ -9,8 +9,8 @@ import (
"strings"
"time"
- "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil"
- "code.betamike.com/mediocregopher/mediocre-blog/src/post/asset"
+ "dev.mediocregopher.com/mediocre-blog.git/src/http/apiutil"
+ "dev.mediocregopher.com/mediocre-blog.git/src/post/asset"
)
func (a *api) managePostAssetsHandler() http.Handler {
diff --git a/src/http/auth.go b/src/http/auth.go
index 523ccd5..eac73b7 100644
--- a/src/http/auth.go
+++ b/src/http/auth.go
@@ -5,7 +5,7 @@ import (
"net/http"
"time"
- "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil"
+ "dev.mediocregopher.com/mediocre-blog.git/src/http/apiutil"
"golang.org/x/crypto/bcrypt"
)
diff --git a/src/http/csrf.go b/src/http/csrf.go
index 8606360..707aac4 100644
--- a/src/http/csrf.go
+++ b/src/http/csrf.go
@@ -6,7 +6,7 @@ import (
"net/http"
"net/url"
- "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil"
+ "dev.mediocregopher.com/mediocre-blog.git/src/http/apiutil"
)
func checkCSRF(r *http.Request, publicURL *url.URL) error {
diff --git a/src/http/drafts.go b/src/http/drafts.go
index 90ad353..f8e4c8a 100644
--- a/src/http/drafts.go
+++ b/src/http/drafts.go
@@ -4,8 +4,8 @@ import (
"fmt"
"net/http"
- "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil"
- "code.betamike.com/mediocregopher/mediocre-blog/src/post"
+ "dev.mediocregopher.com/mediocre-blog.git/src/http/apiutil"
+ "dev.mediocregopher.com/mediocre-blog.git/src/post"
)
func (a *api) manageDraftPostsHandler() http.Handler {
diff --git a/src/http/feed.go b/src/http/feed.go
index 0472c27..eb72464 100644
--- a/src/http/feed.go
+++ b/src/http/feed.go
@@ -5,8 +5,8 @@ import (
"net/http"
"github.com/gorilla/feeds"
- "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil"
- "code.betamike.com/mediocregopher/mediocre-blog/src/post"
+ "dev.mediocregopher.com/mediocre-blog.git/src/http/apiutil"
+ "dev.mediocregopher.com/mediocre-blog.git/src/post"
)
func (a *api) renderFeedHandler() http.Handler {
diff --git a/src/http/http.go b/src/http/http.go
index 7444e7c..fd0ea16 100644
--- a/src/http/http.go
+++ b/src/http/http.go
@@ -15,13 +15,13 @@ import (
"strings"
"time"
- "code.betamike.com/mediocregopher/mediocre-blog/src/cache"
- "code.betamike.com/mediocregopher/mediocre-blog/src/cfg"
- "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil"
- "code.betamike.com/mediocregopher/mediocre-blog/src/post"
- "code.betamike.com/mediocregopher/mediocre-blog/src/post/asset"
- "github.com/mediocregopher/mediocre-go-lib/v2/mctx"
- "github.com/mediocregopher/mediocre-go-lib/v2/mlog"
+ "dev.mediocregopher.com/mediocre-blog.git/src/cache"
+ "dev.mediocregopher.com/mediocre-blog.git/src/cfg"
+ "dev.mediocregopher.com/mediocre-blog.git/src/http/apiutil"
+ "dev.mediocregopher.com/mediocre-blog.git/src/post"
+ "dev.mediocregopher.com/mediocre-blog.git/src/post/asset"
+ "dev.mediocregopher.com/mediocre-go-lib.git/mctx"
+ "dev.mediocregopher.com/mediocre-go-lib.git/mlog"
)
//go:embed static
diff --git a/src/http/middleware.go b/src/http/middleware.go
index 6611136..7a34e83 100644
--- a/src/http/middleware.go
+++ b/src/http/middleware.go
@@ -9,10 +9,10 @@ import (
"sync"
"time"
- "code.betamike.com/mediocregopher/mediocre-blog/src/cache"
- "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil"
- "github.com/mediocregopher/mediocre-go-lib/v2/mctx"
- "github.com/mediocregopher/mediocre-go-lib/v2/mlog"
+ "dev.mediocregopher.com/mediocre-blog.git/src/cache"
+ "dev.mediocregopher.com/mediocre-blog.git/src/http/apiutil"
+ "dev.mediocregopher.com/mediocre-go-lib.git/mctx"
+ "dev.mediocregopher.com/mediocre-go-lib.git/mlog"
)
type middleware func(http.Handler) http.Handler
diff --git a/src/http/posts.go b/src/http/posts.go
index 4c1da56..ab3a18a 100644
--- a/src/http/posts.go
+++ b/src/http/posts.go
@@ -15,11 +15,11 @@ import (
"github.com/gomarkdown/markdown"
"github.com/gomarkdown/markdown/html"
"github.com/gomarkdown/markdown/parser"
- "code.betamike.com/mediocregopher/mediocre-blog/src/gmi"
- "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil"
- "code.betamike.com/mediocregopher/mediocre-blog/src/post"
- "code.betamike.com/mediocregopher/mediocre-blog/src/post/asset"
- "github.com/mediocregopher/mediocre-go-lib/v2/mctx"
+ "dev.mediocregopher.com/mediocre-blog.git/src/gmi"
+ "dev.mediocregopher.com/mediocre-blog.git/src/http/apiutil"
+ "dev.mediocregopher.com/mediocre-blog.git/src/post"
+ "dev.mediocregopher.com/mediocre-blog.git/src/post/asset"
+ "dev.mediocregopher.com/mediocre-go-lib.git/mctx"
)
func (a *api) postPreprocessFuncImage(args ...string) (string, error) {
diff --git a/src/http/tpl.go b/src/http/tpl.go
index 3f6b136..24f2453 100644
--- a/src/http/tpl.go
+++ b/src/http/tpl.go
@@ -11,7 +11,7 @@ import (
"strings"
"time"
- "code.betamike.com/mediocregopher/mediocre-blog/src/http/apiutil"
+ "dev.mediocregopher.com/mediocre-blog.git/src/http/apiutil"
)
//go:embed tpl
diff --git a/src/http/tpl/base.html b/src/http/tpl/base.html
index 01b5386..7e7a4a9 100644
--- a/src/http/tpl/base.html
+++ b/src/http/tpl/base.html
@@ -114,7 +114,7 @@
 / 
<a href="{{ BlogURL "feed.xml" }}">RSS</a>
&nbsp;//&nbsp;
- <a href="https://code.betamike.com/mediocregopher/mediocre-blog">Source</a>
+ <a href="https://dev.mediocregopher.com/mediocre-blog.git">Source</a>
&nbsp;/&nbsp;
<a href="{{ StaticURL "wtfpl.txt" }}">License</a>
</header>
diff --git a/src/http/tpl/index.html b/src/http/tpl/index.html
index 6e786b0..599a666 100644
--- a/src/http/tpl/index.html
+++ b/src/http/tpl/index.html
@@ -30,7 +30,7 @@
</li>
<li><a href="https://github.com/mediocregopher/radix">radix</a> is for using redis with go.</li>
<li><a href="https://code.betamike.com/micropelago">micropelago</a> implements the foundation of a community infrastucture.</li>
- <li><a href="https://code.betamike.com/mediocregopher/mediocre-blog">mediocre-blog</a> is the CMS I designed from scratch to run this site.</li>
+ <li><a href="https://dev.mediocregopher.com/mediocre-blog.git">mediocre-blog</a> is the CMS I designed from scratch to run this site.</li>
</ul>
<h2>Other</h2>