Skip to content

Commit

Permalink
change method delete->get
Browse files Browse the repository at this point in the history
  • Loading branch information
kwangjong committed Jan 25, 2025
1 parent 898dfb8 commit 2d72847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export async function isAuthed() {
let tok: string|null = getToken();
if (tok != null) {
let result : boolean = await fetch(`https://107106.xyz/auth`, {
method: 'DELETE',
method: 'GET',
headers: {
'Token': tok,
}
Expand Down

0 comments on commit 2d72847

Please sign in to comment.