Skip to content

Commit 92d558a

Browse files
authored
Update to v5.0.1
v5.0.1
2 parents 57e75b1 + cc30d88 commit 92d558a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mcss-remote-panel",
3-
"version": "5.0.0",
3+
"version": "5.0.1",
44
"private": true,
55
"scripts": {
66
"dev": "vite dev",

src/lib/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export async function sendServerCommand(input: string) {
125125
return Promise.reject(response);
126126
})
127127
.catch((error) => {
128-
if (error.status === 403) {
128+
if (error.status === 401) {
129129
logout();
130130
}
131131
});

src/lib/components/console.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
scrollToBottom();
6565
})
6666
.catch((error) => {
67-
if (error.status === 403) {
67+
if (error.status === 401) {
6868
logout();
6969
}
7070
})

0 commit comments

Comments
 (0)