From 01424c7dab5fe42a9f00e3c9bb285924e42136fc Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Sat, 21 May 2022 11:34:03 -0600 Subject: Standardize URL generation across the blog --- srv/src/http/assets.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'srv/src/http/assets.go') diff --git a/srv/src/http/assets.go b/srv/src/http/assets.go index aacef96..2cbe7a2 100644 --- a/srv/src/http/assets.go +++ b/srv/src/http/assets.go @@ -172,7 +172,7 @@ func (a *api) postPostAssetHandler() http.Handler { return } - a.executeRedirectTpl(rw, r, "assets/") + a.executeRedirectTpl(rw, r, a.assetsURL(false)) }) } @@ -199,6 +199,6 @@ func (a *api) deletePostAssetHandler() http.Handler { return } - a.executeRedirectTpl(rw, r, "assets/") + a.executeRedirectTpl(rw, r, a.assetsURL(false)) }) } -- cgit v1.2.3