mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-18 22:21:50 +03:00
Handle refreshes in the register UI and update page titles (#119)
This commit is contained in:
parent
6d12014c8e
commit
44e464ba43
@ -1,11 +1,11 @@
|
||||
{
|
||||
"files": {
|
||||
"main.css": "/static/css/main.115771e3.css",
|
||||
"main.js": "/static/js/main.87f3f3b4.js",
|
||||
"main.js": "/static/js/main.9d27844d.js",
|
||||
"index.html": "/index.html"
|
||||
},
|
||||
"entrypoints": [
|
||||
"static/css/main.115771e3.css",
|
||||
"static/js/main.87f3f3b4.js"
|
||||
"static/js/main.9d27844d.js"
|
||||
]
|
||||
}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -133,7 +133,25 @@ pub async fn register(
|
||||
|
||||
let react_app = warp::path::end()
|
||||
.and(warp::get())
|
||||
.map(move || warp::reply::html(include_str!("register-ui/build/index.html")));
|
||||
.map(move || warp::reply::html(include_str!("register-ui/build/index.html")))
|
||||
.or(warp::path("login")
|
||||
.and(warp::get())
|
||||
.map(move || warp::reply::html(include_str!("register-ui/build/index.html"))))
|
||||
.or(warp::path("register-name")
|
||||
.and(warp::get())
|
||||
.map(move || warp::reply::html(include_str!("register-ui/build/index.html"))))
|
||||
.or(warp::path("claim-invite")
|
||||
.and(warp::get())
|
||||
.map(move || warp::reply::html(include_str!("register-ui/build/index.html"))))
|
||||
.or(warp::path("reset")
|
||||
.and(warp::get())
|
||||
.map(move || warp::reply::html(include_str!("register-ui/build/index.html"))))
|
||||
.or(warp::path("import-keyfile")
|
||||
.and(warp::get())
|
||||
.map(move || warp::reply::html(include_str!("register-ui/build/index.html"))))
|
||||
.or(warp::path("set-password")
|
||||
.and(warp::get())
|
||||
.map(move || warp::reply::html(include_str!("register-ui/build/index.html"))));
|
||||
|
||||
let api = warp::path("info")
|
||||
.and(
|
||||
|
Loading…
Reference in New Issue
Block a user