This commit is contained in:
Jimmy 2022-01-21 13:55:16 +13:00
parent 0b80fe4a93
commit 6789fcfd35
1 changed files with 7 additions and 3 deletions

View File

@ -8,13 +8,17 @@ import { Api } from '../api';
})
export class AppHome {
constructor() {
this.start()
this.start();
}
async start() {
await Api.getApiurl();
await Api.login();
await Api.login('test', 'prozac-prowler-stoop-patriot');
let data = await Api.get("/users/me");
console.log(data);
await Api.post("/server/dummy/start");
}
render() {
return (
<div class="app-home">