update svelte 5
This commit is contained in:
@@ -25,8 +25,8 @@
|
||||
<textarea>{$token}</textarea>
|
||||
<span>Payload</span>
|
||||
<textarea>{JSON.stringify($payload)}</textarea>
|
||||
<button on:click={onSendClick}>send</button>
|
||||
<button on:click={onReadClick}>read</button>
|
||||
<button onclick={onSendClick}>send</button>
|
||||
<button onclick={onReadClick}>read</button>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
|
||||
@@ -9,6 +9,6 @@ export function GET({ request }) {
|
||||
const decoded = verify(jwt, 'shhhhh');
|
||||
return json(decoded);
|
||||
} catch (err) {
|
||||
throw error(404, { message: err.message });
|
||||
error(404, { message: err.message });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user