Skip to content

Commit

Permalink
后台增加退出登录选项
Browse files Browse the repository at this point in the history
  • Loading branch information
MarSeventh committed Sep 28, 2024
1 parent 0037218 commit f1e1bd8
Show file tree
Hide file tree
Showing 19 changed files with 56 additions and 2 deletions.
1 change: 1 addition & 0 deletions css/272.9162e8f0.css

Large diffs are not rendered by default.

Binary file added css/272.9162e8f0.css.gz
Binary file not shown.
1 change: 1 addition & 0 deletions css/740.b6f34982.css

Large diffs are not rendered by default.

Binary file added css/740.b6f34982.css.gz
Binary file not shown.
1 change: 0 additions & 1 deletion functions/api/manage/_middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ async function errorHandling(context) {
return new Response('Dashboard is disabled. Please bind a KV namespace to use this feature.', { status: 200 });
}

console.log(context.env.BASIC_USER)
if(typeof context.env.BASIC_USER == "undefined" || context.env.BASIC_USER == null || context.env.BASIC_USER == ""){
return context.next();
}else{
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/logo.png"><title>Sanyue ImgHub</title><script defer="defer" src="/js/app.5e5c7c7e.js"></script><link href="/css/app.def7ef9b.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but sanyue_imghub doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/logo.png"><title>Sanyue ImgHub</title><script defer="defer" src="/js/app.bc781deb.js"></script><link href="/css/app.def7ef9b.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but sanyue_imghub doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
Binary file modified index.html.gz
Binary file not shown.
2 changes: 2 additions & 0 deletions js/272.507731fc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added js/272.507731fc.js.gz
Binary file not shown.
1 change: 1 addition & 0 deletions js/272.507731fc.js.map

Large diffs are not rendered by default.

Binary file added js/272.507731fc.js.map.gz
Binary file not shown.
2 changes: 2 additions & 0 deletions js/740.ab9ee04f.js

Large diffs are not rendered by default.

Binary file added js/740.ab9ee04f.js.gz
Binary file not shown.
1 change: 1 addition & 0 deletions js/740.ab9ee04f.js.map

Large diffs are not rendered by default.

Binary file added js/740.ab9ee04f.js.map.gz
Binary file not shown.
46 changes: 46 additions & 0 deletions js/app.bc781deb.js

Large diffs are not rendered by default.

Binary file added js/app.bc781deb.js.gz
Binary file not shown.
1 change: 1 addition & 0 deletions js/app.bc781deb.js.map

Large diffs are not rendered by default.

Binary file added js/app.bc781deb.js.map.gz
Binary file not shown.

0 comments on commit f1e1bd8

Please sign in to comment.