Added the ability to see the timeline data in the editor and added in a basic form.
Signed-off-by: rodude123 <rodude123@gmail.com>
This commit is contained in:
@@ -39,10 +39,11 @@ document.querySelector("#login form").addEventListener("submit", e =>
|
||||
{
|
||||
method: "POST",
|
||||
body: loginData
|
||||
}).then(res =>
|
||||
}).then(res => res.json()).then(json =>
|
||||
{
|
||||
if (res.ok)
|
||||
{
|
||||
localStorage.setItem("token", json.token);
|
||||
window.location.href = "./editor.html";
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user