Fixed URL to workpad.dev

This commit is contained in:
Leon Mika 2024-12-26 07:50:52 +11:00
parent 93c336c40c
commit eaccee2f47

View file

@ -21,7 +21,7 @@ func main() {
r := http.NewServeMux() r := http.NewServeMux()
r.Handle("media.lmika.org/", redirectTo("https://pub-d9610a73a30e4060aaf007864420dd0f.r2.dev")) r.Handle("media.lmika.org/", redirectTo("https://pub-d9610a73a30e4060aaf007864420dd0f.r2.dev"))
r.Handle("folio.red/", redirectToJust("https://lmika.org/categories/old-projects/")) r.Handle("folio.red/", redirectToJust("https://lmika.org/categories/old-projects/"))
r.Handle("workpad.net/", redirectToJust("https://lmika.org/categories/workpad/")) r.Handle("workpad.dev/", redirectToJust("https://lmika.org/categories/workpad/"))
svr := http.Server{ svr := http.Server{
Addr: fmt.Sprintf(":%v", port), Addr: fmt.Sprintf(":%v", port),