Use "~" as a route namespace symbol on FE
authorMaxim Filippov <colixer@gmail.com>
Sun, 9 Dec 2018 22:22:50 +0000 (01:22 +0300)
committerMaxim Filippov <colixer@gmail.com>
Sun, 9 Dec 2018 22:22:50 +0000 (01:22 +0300)
config/config.exs
priv/static/static/config.json

index 8d2fdd40d7ba10de9abdd44c3160a2ae5994cb33..0f30b2985dcd1892ecb89d00a80dd933611f8cb8 100644 (file)
@@ -119,8 +119,8 @@ config :pleroma, :fe,
   logo_mask: true,
   logo_margin: "0.1em",
   background: "/static/aurora_borealis.jpg",
-  redirect_root_no_login: "/main/all",
-  redirect_root_login: "/main/friends",
+  redirect_root_no_login: "/~/main/all",
+  redirect_root_login: "/~/main/friends",
   show_instance_panel: true,
   scope_options_enabled: false,
   formatting_options_enabled: false,
index 67d84579f96f4108f7048bdb5f4e55fc4fdfe131..232e8dce7c5776e2bf7de186b69aee2b3c7070a1 100644 (file)
@@ -4,8 +4,8 @@
   "logo": "/static/logo.png",
   "logoMask": true,
   "logoMargin": ".1em",
-  "redirectRootNoLogin": "/main/all",
-  "redirectRootLogin": "/main/friends",
+  "redirectRootNoLogin": "/~/main/all",
+  "redirectRootLogin": "/~/main/friends",
   "chatDisabled": false,
   "showInstanceSpecificPanel": false,
   "scopeOptionsEnabled": false,