Skip to content

Commit 149f219

Browse files
committed
add redirect rules
1 parent 04dea9d commit 149f219

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/algora_web/router.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ defmodule AlgoraWeb.Router do
4242
redirect("/create", "/anything", :permanent)
4343
redirect("/create/*path", "/anything/*path", :permanent)
4444

45+
redirect("/lovablelabs", "/lovable", :permanent)
46+
redirect("/lovablelabs/*path", "/lovable/*path", :permanent)
47+
4548
scope "/" do
4649
forward "/asset", AlgoraWeb.Plugs.RewriteAssetsPlug, upstream: :assets_url
4750
forward "/storage", AlgoraWeb.Plugs.RewriteStoragePlug, upstream: :storage_url

0 commit comments

Comments
 (0)