7 lines
423 B
JavaScript
7 lines
423 B
JavaScript
|
|
/// Pretty URL for the account settings editor: /settings → the static page.
|
||
|
|
/// The page itself (pb_public/settings.html) is a login → decrypt → edit →
|
||
|
|
/// re-encrypt flow for the client-encrypted addon_config; everything happens in
|
||
|
|
/// the browser against the normal collection API, so there's no server logic
|
||
|
|
/// here beyond this redirect.
|
||
|
|
routerAdd("GET", "/settings", (e) => e.redirect(302, "/settings.html"))
|