Skip to content
Snippets Groups Projects
Commit 7895a4c3 authored by Sindre Eiklid's avatar Sindre Eiklid
Browse files

Removed useless fetch

parent ef44d71a
Branches
No related tags found
No related merge requests found
......@@ -170,16 +170,6 @@ export class Profile extends LitElement {
*/
constructor() {
super();
fetch(
`${window.MyAppGlobals.serverURL}checkSession`
).then(
res => res.json()
).then(
data => {
console.log(data);
//if(!data) window.location.replace('http://localhost:8080/login');
}
);
fetch(
`${window.MyAppGlobals.serverURL}getPostUser`
).then(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment