Merge branch 'master' into hugo
This commit is contained in:
@@ -13,8 +13,6 @@ body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
/* tmp? */
|
||||
background-color: #333;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
|
||||
@@ -21,6 +21,12 @@
|
||||
console.log({...user})
|
||||
})
|
||||
|
||||
export const updateUser = async() => {
|
||||
user = await fetch(`http://${process.env.WEBSITE_HOST}:${process.env.WEBSITE_PORT}/api/v2/user?username=${params.username}`)
|
||||
.then( (x) => x.json() );
|
||||
};
|
||||
|
||||
$: params.username, updateUser();
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user