整合部分页面

This commit is contained in:
MarSeventh
2024-09-14 17:55:57 +08:00
parent 6b05688adb
commit dac430bdca
46 changed files with 88 additions and 76 deletions

View File

@@ -250,7 +250,11 @@ API格式
环境变量增加`ALLOWED_DOMAINS`,多个允许的域名用英文`,`分割,如:`域名.xyz,域名.cloudns.be,域名.pp.ua`
#### 3.1.7页面自定义DIY接口
#### 3.1.7白名单模式
环境变量增加`WhiteList_Mode`,设置为`true`即可开启白名单模式,仅设置为白名单的图片可被访问。
#### 3.1.8页面自定义DIY接口
环境变量增加`USER_CONFIG`JSON格式具体字段用途及内容规范见下表。
@@ -282,11 +286,11 @@ API格式
> }
> ```
#### 3.1.8远端遥测
#### 3.1.9远端遥测
便于开发者进行bug的捕捉和定位但是**过程中可能收集到访问链接、域名等信息**,如您不愿意泄露类似信息给项目开发者,可在环境变量中添加`disable_telemetry``true`来退出遥测。
#### 3.1.9随机图API
#### 3.1.10随机图API
| 接口名称 | /random |
| ------------ | ------------------------------------------------------------ |
@@ -311,7 +315,7 @@ API格式
> }
> ```
#### 3.1.10注意!!!
#### 3.1.11注意!!!
**修改环境变量方式**

View File

@@ -1,31 +0,0 @@
<!DOCTYPE html>
<html class="no-js" lang="en-US" style="
height: 100%;
">
<head>
<title>The Image is blocked | CloudFlare-ImgBed</title>
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="robots" content="noindex, nofollow">
<meta name="viewport" content="width=device-width,initial-scale=1">
<style>body{margin:0;padding:0}</style>
<script src="https://js.sentry-cdn.com/219f636ac7bde5edab2c3e16885cb535.min.js" crossorigin="anonymous"></script>
</head>
<body style="
height: 100%;
">
<div style="display: flex;flex-direction: column;align-content: center;justify-content: center;align-items: center;height: 100%;text-align: center;">
<div>
抱歉,当前图片未能通过审查,可能含有不良内容,故无法进行加载。
<br>
Sorry, the current image failed to pass the review and may contain undesirable content, so it cannot be loaded.
</div>
<br>
<div>Powered By: <span><a style="
color: cornflowerblue;"
href="https://github.com/MarSeventh/CloudFlare-ImgBed">CloudFlare-ImgBed</a></span></div>
</div>
</body></html>

1
css/673.825c4eaf.css Normal file
View File

@@ -0,0 +1 @@
.blocked-image-page[data-v-0023e522]{display:flex;justify-content:center;align-items:center;height:100vh;background-color:#f5f5f5}

1
css/680.8a82d8fe.css Normal file
View File

@@ -0,0 +1 @@
.login[data-v-2a5c703b]{display:flex;justify-content:center;align-items:center;height:100vh;transition:background-image 1s ease-in-out;background-size:cover;background-attachment:fixed}.login-container[data-v-2a5c703b]{display:flex;flex-direction:column;justify-content:space-around;align-items:center;height:40vh;width:40vw;border-radius:12px;box-shadow:0 0 12px rgba(0,0,0,.12);background-color:hsla(0,0%,100%,.6);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:all .3s ease}@media (max-width:768px){.login-container[data-v-2a5c703b]{width:80vw}}.login-container[data-v-2a5c703b]:hover{box-shadow:0 0 12px 4px rgba(0,0,0,.24);transform:translateY(-5px)}.password-input[data-v-2a5c703b]{margin-bottom:15px;width:30vw}@media (max-width:768px){.password-input[data-v-2a5c703b]{width:70vw}}.submit[data-v-2a5c703b]{margin-top:10px}.background-image1[data-v-2a5c703b],.background-image2[data-v-2a5c703b]{position:fixed;top:0;left:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;z-index:-1;opacity:0;transition:all 1s ease-in-out}

BIN
css/680.8a82d8fe.css.gz Normal file

Binary file not shown.

1
css/866.18f4011e.css Normal file
View File

@@ -0,0 +1 @@
.blocked-image-page[data-v-58ebc51e]{display:flex;justify-content:center;align-items:center;height:100vh;background-color:#f5f5f5}

1
css/950.72f74158.css Normal file

File diff suppressed because one or more lines are too long

BIN
css/950.72f74158.css.gz Normal file

Binary file not shown.

View File

@@ -24,11 +24,11 @@ export async function onRequest(context) { // Contents of context object
return domainPattern.test(refererUrl.hostname);
});
if (!isAllowed) {
return Response.redirect(new URL("/block-img.html", request.url).href, 302); // Ensure URL is correctly formed
return Response.redirect(new URL("/blockimg", request.url).href, 302); // Ensure URL is correctly formed
}
}
} catch (e) {
return Response.redirect(new URL("/block-img.html", request.url).href, 302); // Ensure URL is correctly formed
return Response.redirect(new URL("/blockimg", request.url).href, 302); // Ensure URL is correctly formed
}
}
// 检查是否配置了 KV 数据库
@@ -101,22 +101,22 @@ export async function onRequest(context) { // Contents of context object
console.log("Referer")
console.log(request.headers.get('Referer'))
if (typeof request.headers.get('Referer') == "undefined" || request.headers.get('Referer') == null || request.headers.get('Referer') == "") {
return Response.redirect(url.origin + "/block-img.html", 302)
return Response.redirect(url.origin + "/blockimg", 302)
} else {
return Response.redirect("https://static-res.pages.dev/teleimage/img-block-compressed.png", 302)
return new Response('Error: Image Blocked', { status: 404 });
}
} else if (record.metadata.Label == "adult") {
if (typeof request.headers.get('Referer') == "undefined" || request.headers.get('Referer') == null || request.headers.get('Referer') == "") {
return Response.redirect(url.origin + "/block-img.html", 302)
return Response.redirect(url.origin + "/blockimg", 302)
} else {
return Response.redirect("https://static-res.pages.dev/teleimage/img-block-compressed.png", 302)
return new Response('Error: Image Blocked', { status: 404 });
}
}
//check if the env variables WhiteList_Mode are set
if (env.WhiteList_Mode == "true") {
//if the env variables WhiteList_Mode are set, redirect to the image
return Response.redirect(url.origin + "/whitelist-on.html", 302);
return Response.redirect(url.origin + "/whiteliston", 302);
} else {
//if the env variables WhiteList_Mode are not set, redirect to the image
return newRes;

BIN
img/404.8ed11fb3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 605 KiB

BIN
img/background.ea1b7ee7.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 KiB

View File

@@ -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.4e19a760.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.40c62b88.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 not shown.

2
js/522.d8c7634a.js Normal file
View File

@@ -0,0 +1,2 @@
"use strict";(self["webpackChunksanyue_imghub"]=self["webpackChunksanyue_imghub"]||[]).push([[522],{9522:function(e,s,a){a.r(s),a.d(s,{default:function(){return k}});var n=a(47),t=(a(5331),a(9648),a(2105)),o=(a(9092),a(6768)),r=a(5130);const i={class:"login"},l={class:"login-container"},u={class:"input-container"},d={class:"input-container"};function c(e,s,a,c,h,m){const p=t.WK,k=n.S2;return(0,o.uX)(),(0,o.CE)("div",i,[(0,o.Lk)("div",l,[s[5]||(s[5]=(0,o.Lk)("h1",null,"AdminLogin",-1)),(0,o.Lk)("div",u,[s[2]||(s[2]=(0,o.Lk)("a",{class:"input-name"},"用户名:",-1)),(0,o.bF)(p,{modelValue:h.username,"onUpdate:modelValue":s[0]||(s[0]=e=>h.username=e),placeholder:"请输入用户名"},null,8,["modelValue"])]),(0,o.Lk)("div",d,[s[3]||(s[3]=(0,o.Lk)("a",{class:"input-name"},"密码:",-1)),(0,o.bF)(p,{modelValue:h.password,"onUpdate:modelValue":s[1]||(s[1]=e=>h.password=e),placeholder:"请输入密码",type:"password","show-password":"",onKeyup:(0,r.jR)(m.login,["enter","native"])},null,8,["modelValue","onKeyup"])]),(0,o.bF)(k,{class:"submit",type:"primary",onClick:m.login},{default:(0,o.k6)((()=>s[4]||(s[4]=[(0,o.eW)("登录")]))),_:1},8,["onClick"])])])}a(4114),a(4979);var h={data(){return{password:"",username:""}},methods:{async login(){const e=btoa(`${this.username}:${this.password}`);try{const s=await fetch("/api/manage/check",{method:"GET",headers:{Authorization:`Basic ${e}`},credentials:"include"});401===s.status?this.$message.error("用户名或密码错误"):200===s.status?(this.$store.commit("setCredentials",e),this.$router.push("/dashboard")):this.$message.error("用户名或密码错误")}catch(s){this.$message.error("服务器错误")}}}},m=a(1241);const p=(0,m.A)(h,[["render",c],["__scopeId","data-v-45609ed2"]]);var k=p}}]);
//# sourceMappingURL=522.d8c7634a.js.map

BIN
js/522.d8c7634a.js.gz Normal file

Binary file not shown.

1
js/522.d8c7634a.js.map Normal file

File diff suppressed because one or more lines are too long

BIN
js/522.d8c7634a.js.map.gz Normal file

Binary file not shown.

2
js/569.537082ba.js Normal file

File diff suppressed because one or more lines are too long

BIN
js/569.537082ba.js.gz Normal file

Binary file not shown.

1
js/569.537082ba.js.map Normal file

File diff suppressed because one or more lines are too long

BIN
js/569.537082ba.js.map.gz Normal file

Binary file not shown.

2
js/673.d0c18f73.js Normal file
View File

@@ -0,0 +1,2 @@
"use strict";(self["webpackChunksanyue_imghub"]=self["webpackChunksanyue_imghub"]||[]).push([[673],{8673:function(e,t,n){n.r(t),n.d(t,{default:function(){return s}});var a=n(6768);const i={class:"blocked-image-page"};function l(e,t,n,l,o,d){return(0,a.uX)(),(0,a.CE)("div",i,t[0]||(t[0]=[(0,a.Lk)("div",null,[(0,a.Lk)("div",null,[(0,a.eW)(" 抱歉,当前已开启白名单模式,上传的图片需要审核通过后才能展示,请等待审核通过后再进行访问。 "),(0,a.Lk)("br"),(0,a.eW)(" Sorry, the whitelist mode is currently enabled, the uploaded images need to be audited before they can be displayed, please wait for the audit to be passed before visiting. ")]),(0,a.Lk)("br"),(0,a.Lk)("div",null,[(0,a.eW)("Powered By: "),(0,a.Lk)("span",null,[(0,a.Lk)("a",{href:"https://github.com/MarSeventh/CloudFlare-ImgBed",style:{color:"cornflowerblue"}}," CloudFlare-ImgBed ")])])],-1)]))}var o=n(3129),d={name:"BlockedImage",setup(){(0,o.u)({title:"White List On",meta:[{name:"robots",content:"noindex, nofollow"},{name:"viewport",content:"width=device-width, initial-scale=1"},{charset:"UTF-8"}]})}},r=n(1241);const u=(0,r.A)(d,[["render",l],["__scopeId","data-v-0023e522"]]);var s=u}}]);
//# sourceMappingURL=673.d0c18f73.js.map

BIN
js/673.d0c18f73.js.gz Normal file

Binary file not shown.

1
js/673.d0c18f73.js.map Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"js/673.d0c18f73.js","mappings":"oLACA,MAAMA,EAAa,CACjBC,MAAO,sBAEF,SAASC,EAAOC,EAAMC,EAAQC,EAAQC,EAAQC,EAAOC,GAC1D,OAAO,WAAc,QAAoB,MAAOR,EAAYI,EAAO,KAAOA,EAAO,GAAK,EAAC,QAAoB,MAAO,KAAM,EAAC,QAAoB,MAAO,KAAM,EAAC,QAAiB,oDAAoD,QAAoB,OAAO,QAAiB,qLAAqL,QAAoB,OAAO,QAAoB,MAAO,KAAM,EAAC,QAAiB,iBAAiB,QAAoB,OAAQ,KAAM,EAAC,QAAoB,IAAK,CAC1lBK,KAAM,kDACNC,MAAO,CACL,MAAS,mBAEV,6BAA8B,KACnC,C,cCVA,GACEC,KAAM,eACN,KAAAC,IACE,IAAAC,GAAQ,CACNC,MAAO,gBACPC,KAAM,CAAC,CACLJ,KAAM,SACNK,QAAS,qBACR,CACDL,KAAM,WACNK,QAAS,uCACR,CACDC,QAAS,WAGf,G,UCTF,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAAShB,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://sanyue_imghub/./src/views/WhiteListOn.vue?9449","webpack://sanyue_imghub/./src/views/WhiteListOn.vue","webpack://sanyue_imghub/./src/views/WhiteListOn.vue?05e5"],"sourcesContent":["import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\";\nconst _hoisted_1 = {\n class: \"blocked-image-page\"\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, _cache[0] || (_cache[0] = [_createElementVNode(\"div\", null, [_createElementVNode(\"div\", null, [_createTextVNode(\" 抱歉,当前已开启白名单模式,上传的图片需要审核通过后才能展示,请等待审核通过后再进行访问。 \"), _createElementVNode(\"br\"), _createTextVNode(\" Sorry, the whitelist mode is currently enabled, the uploaded images need to be audited before they can be displayed, please wait for the audit to be passed before visiting. \")]), _createElementVNode(\"br\"), _createElementVNode(\"div\", null, [_createTextVNode(\"Powered By: \"), _createElementVNode(\"span\", null, [_createElementVNode(\"a\", {\n href: \"https://github.com/MarSeventh/CloudFlare-ImgBed\",\n style: {\n \"color\": \"cornflowerblue\"\n }\n }, \" CloudFlare-ImgBed \")])])], -1)]));\n}","import { useHead } from '@vueuse/head';\nexport default {\n name: 'BlockedImage',\n setup() {\n useHead({\n title: 'White List On',\n meta: [{\n name: 'robots',\n content: 'noindex, nofollow'\n }, {\n name: 'viewport',\n content: 'width=device-width, initial-scale=1'\n }, {\n charset: 'UTF-8'\n }]\n });\n }\n};","/* unplugin-vue-components disabled */import { render } from \"./WhiteListOn.vue?vue&type=template&id=0023e522&scoped=true\"\nimport script from \"./WhiteListOn.vue?vue&type=script&lang=js\"\nexport * from \"./WhiteListOn.vue?vue&type=script&lang=js\"\n\nimport \"./WhiteListOn.vue?vue&type=style&index=0&id=0023e522&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0023e522\"]])\n\nexport default __exports__"],"names":["_hoisted_1","class","render","_ctx","_cache","$props","$setup","$data","$options","href","style","name","setup","u","title","meta","content","charset","__exports__"],"sourceRoot":""}

BIN
js/673.d0c18f73.js.map.gz Normal file

Binary file not shown.

2
js/680.57921cc3.js Normal file
View File

@@ -0,0 +1,2 @@
"use strict";(self["webpackChunksanyue_imghub"]=self["webpackChunksanyue_imghub"]||[]).push([[680],{4680:function(s,t,e){e.r(t),e.d(t,{default:function(){return b}});var i=e(47),a=(e(5331),e(9648),e(2105)),n=(e(9092),e(6768)),l=e(5130);const o={class:"login"},r={class:"login-container"};function g(s,t,e,g,c,u){const h=a.WK,p=i.S2;return(0,n.uX)(),(0,n.CE)("div",o,[t[3]||(t[3]=(0,n.Lk)("img",{id:"bg1",class:"background-image1",alt:"Background Image"},null,-1)),t[4]||(t[4]=(0,n.Lk)("img",{id:"bg2",class:"background-image2",alt:"Background Image"},null,-1)),(0,n.Lk)("div",r,[t[2]||(t[2]=(0,n.Lk)("h1",null,"Login",-1)),(0,n.bF)(h,{class:"password-input",modelValue:c.password,"onUpdate:modelValue":t[0]||(t[0]=s=>c.password=s),placeholder:"输入认证码,若未设置留空即可~",type:"password","show-password":"",onKeyup:(0,l.jR)(u.login,["enter","native"])},null,8,["modelValue","onKeyup"]),(0,n.bF)(p,{class:"submit",type:"primary",onClick:u.login},{default:(0,n.k6)((()=>t[1]||(t[1]=[(0,n.eW)("登录")]))),_:1},8,["onClick"])])])}e(4114);var c=e(4570),u=e.n(c),h=e(4373),p=e(782),d={data(){return{password:"",writtenPass:"",bingWallPaperIndex:0,customWallPaperIndex:0}},computed:{...(0,p.L8)(["userConfig","bingWallPapers"]),bkInterval(){return this.userConfig?.bkInterval||3e3},bkOpacity(){return this.userConfig?.bkOpacity||1}},mounted(){const s=document.getElementById("bg1"),t=document.getElementById("bg2");"bing"===this.userConfig?.loginBkImg?this.$store.dispatch("fetchBingWallPapers").then((()=>{s.src=this.bingWallPapers[this.bingWallPaperIndex]?.url,s.onload=()=>{s.style.opacity=this.bkOpacity},setInterval((()=>{let e=0!=s.style.opacity?s:t,i=0!=s.style.opacity?t:s;e.style.opacity=0,this.bingWallPaperIndex=(this.bingWallPaperIndex+1)%this.bingWallPapers.length,i.src=this.bingWallPapers[this.bingWallPaperIndex]?.url,i.onload=()=>{i.style.opacity=this.bkOpacity}}),this.bkInterval)})):this.userConfig?.loginBkImg instanceof Array&&this.userConfig?.loginBkImg?.length>1?(s.src=this.userConfig.loginBkImg[this.customWallPaperIndex],s.onload=()=>{s.style.opacity=this.bkOpacity},setInterval((()=>{let e=0!=s.style.opacity?s:t,i=0!=s.style.opacity?t:s;e.style.opacity=0,this.customWallPaperIndex=(this.customWallPaperIndex+1)%this.userConfig.loginBkImg.length,i.src=this.userConfig.loginBkImg[this.customWallPaperIndex],i.onload=()=>{i.style.opacity=this.bkOpacity}}),this.bkInterval)):this.userConfig?.loginBkImg instanceof Array&&1==this.userConfig?.loginBkImg?.length?(s.src=this.userConfig.loginBkImg[0],s.onload=()=>{s.style.opacity=this.bkOpacity}):(s.src=e(732),s.onload=()=>{s.style.opacity=this.bkOpacity})},methods:{login(){""===this.password?this.writtenPass="unset":this.writtenPass=this.password,h.A.post("/login",{authCode:this.password}).then((s=>{200===s.status?(u().set("authCode",this.writtenPass,"14d"),this.$router.push("/"),this.$message.success("登录成功~")):this.$message.error("登录失败,请检查认证码是否正确~")})).catch((s=>{this.$message.error("登录失败,请检查认证码是否正确~")}))}}},y=e(1241);const m=(0,y.A)(d,[["render",g],["__scopeId","data-v-2a5c703b"]]);var b=m}}]);
//# sourceMappingURL=680.57921cc3.js.map

BIN
js/680.57921cc3.js.gz Normal file

Binary file not shown.

1
js/680.57921cc3.js.map Normal file

File diff suppressed because one or more lines are too long

BIN
js/680.57921cc3.js.map.gz Normal file

Binary file not shown.

2
js/866.aa16442c.js Normal file
View File

@@ -0,0 +1,2 @@
"use strict";(self["webpackChunksanyue_imghub"]=self["webpackChunksanyue_imghub"]||[]).push([[866],{8866:function(e,n,t){t.r(n),t.d(n,{default:function(){return d}});var r=t(6768);const a={class:"blocked-image-page"};function o(e,n,t,o,l,i){return(0,r.uX)(),(0,r.CE)("div",a,n[0]||(n[0]=[(0,r.Lk)("div",null,[(0,r.Lk)("div",null,[(0,r.eW)(" 抱歉,当前图片已被禁止访问。 "),(0,r.Lk)("br"),(0,r.eW)(" Sorry, current image is prohibited from being accessed. ")]),(0,r.Lk)("br"),(0,r.Lk)("div",null,[(0,r.eW)("Powered By: "),(0,r.Lk)("span",null,[(0,r.Lk)("a",{href:"https://github.com/MarSeventh/CloudFlare-ImgBed",style:{color:"cornflowerblue"}}," CloudFlare-ImgBed ")])])],-1)]))}var l=t(3129),i={name:"BlockedImage",setup(){(0,l.u)({title:"Blocked Image",meta:[{name:"robots",content:"noindex, nofollow"},{name:"viewport",content:"width=device-width, initial-scale=1"},{charset:"UTF-8"}]})}},u=t(1241);const c=(0,u.A)(i,[["render",o],["__scopeId","data-v-58ebc51e"]]);var d=c}}]);
//# sourceMappingURL=866.aa16442c.js.map

BIN
js/866.aa16442c.js.gz Normal file

Binary file not shown.

1
js/866.aa16442c.js.map Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"js/866.aa16442c.js","mappings":"oLACA,MAAMA,EAAa,CACjBC,MAAO,sBAEF,SAASC,EAAOC,EAAMC,EAAQC,EAAQC,EAAQC,EAAOC,GAC1D,OAAO,WAAc,QAAoB,MAAOR,EAAYI,EAAO,KAAOA,EAAO,GAAK,EAAC,QAAoB,MAAO,KAAM,EAAC,QAAoB,MAAO,KAAM,EAAC,QAAiB,qBAAqB,QAAoB,OAAO,QAAiB,gEAAgE,QAAoB,OAAO,QAAoB,MAAO,KAAM,EAAC,QAAiB,iBAAiB,QAAoB,OAAQ,KAAM,EAAC,QAAoB,IAAK,CACtcK,KAAM,kDACNC,MAAO,CACL,MAAS,mBAEV,6BAA8B,KACnC,C,cCVA,GACEC,KAAM,eACN,KAAAC,IACE,IAAAC,GAAQ,CACNC,MAAO,gBACPC,KAAM,CAAC,CACLJ,KAAM,SACNK,QAAS,qBACR,CACDL,KAAM,WACNK,QAAS,uCACR,CACDC,QAAS,WAGf,G,UCTF,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAAShB,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://sanyue_imghub/./src/views/BlockImage.vue?f1ca","webpack://sanyue_imghub/./src/views/BlockImage.vue","webpack://sanyue_imghub/./src/views/BlockImage.vue?e417"],"sourcesContent":["import { createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\";\nconst _hoisted_1 = {\n class: \"blocked-image-page\"\n};\nexport function render(_ctx, _cache, $props, $setup, $data, $options) {\n return _openBlock(), _createElementBlock(\"div\", _hoisted_1, _cache[0] || (_cache[0] = [_createElementVNode(\"div\", null, [_createElementVNode(\"div\", null, [_createTextVNode(\" 抱歉,当前图片已被禁止访问。 \"), _createElementVNode(\"br\"), _createTextVNode(\" Sorry, current image is prohibited from being accessed. \")]), _createElementVNode(\"br\"), _createElementVNode(\"div\", null, [_createTextVNode(\"Powered By: \"), _createElementVNode(\"span\", null, [_createElementVNode(\"a\", {\n href: \"https://github.com/MarSeventh/CloudFlare-ImgBed\",\n style: {\n \"color\": \"cornflowerblue\"\n }\n }, \" CloudFlare-ImgBed \")])])], -1)]));\n}","import { useHead } from '@vueuse/head';\nexport default {\n name: 'BlockedImage',\n setup() {\n useHead({\n title: 'Blocked Image',\n meta: [{\n name: 'robots',\n content: 'noindex, nofollow'\n }, {\n name: 'viewport',\n content: 'width=device-width, initial-scale=1'\n }, {\n charset: 'UTF-8'\n }]\n });\n }\n};","/* unplugin-vue-components disabled */import { render } from \"./BlockImage.vue?vue&type=template&id=58ebc51e&scoped=true\"\nimport script from \"./BlockImage.vue?vue&type=script&lang=js\"\nexport * from \"./BlockImage.vue?vue&type=script&lang=js\"\n\nimport \"./BlockImage.vue?vue&type=style&index=0&id=58ebc51e&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-58ebc51e\"]])\n\nexport default __exports__"],"names":["_hoisted_1","class","render","_ctx","_cache","$props","$setup","$data","$options","href","style","name","setup","u","title","meta","content","charset","__exports__"],"sourceRoot":""}

BIN
js/866.aa16442c.js.map.gz Normal file

Binary file not shown.

2
js/950.4b7001b3.js Normal file

File diff suppressed because one or more lines are too long

BIN
js/950.4b7001b3.js.gz Normal file

Binary file not shown.

1
js/950.4b7001b3.js.map Normal file

File diff suppressed because one or more lines are too long

BIN
js/950.4b7001b3.js.map.gz Normal file

Binary file not shown.

2
js/985.53512464.js Normal file

File diff suppressed because one or more lines are too long

BIN
js/985.53512464.js.gz Normal file

Binary file not shown.

1
js/985.53512464.js.map Normal file

File diff suppressed because one or more lines are too long

BIN
js/985.53512464.js.map.gz Normal file

Binary file not shown.

46
js/app.40c62b88.js Normal file

File diff suppressed because one or more lines are too long

BIN
js/app.40c62b88.js.gz Normal file

Binary file not shown.

1
js/app.40c62b88.js.map Normal file

File diff suppressed because one or more lines are too long

BIN
js/app.40c62b88.js.map.gz Normal file

Binary file not shown.

View File

@@ -1,33 +0,0 @@
<!DOCTYPE html>
<html class="no-js" lang="en-US" style="
height: 100%;
">
<head>
<title>WhiteList Mode is ON| CloudFlare-ImgBed</title>
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="robots" content="noindex, nofollow">
<meta name="viewport" content="width=device-width,initial-scale=1">
<script src="https://js.sentry-cdn.com/219f636ac7bde5edab2c3e16885cb535.min.js" crossorigin="anonymous"></script>
<style>body{margin:0;padding:0}</style>
</head>
<body style="
height: 100%;
">
<div style="display: flex;flex-direction: column;align-content: center;justify-content: center;align-items: center;height: 100%;text-align: center;">
<div>
抱歉,当前已开启白名单模式,上传的图片需要审核通过后才能展示,请等待审核通过后再进行访问。
<br>
Sorry, the whitelist mode is currently enabled, the uploaded images need to be audited before they can be displayed, please wait for the audit to be passed before visiting.
</div>
<br>
<div>Powered By: <span><a style="
color: cornflowerblue;"
href="https://github.com/MarSeventh/CloudFlare-ImgBed">CloudFlare-ImgBed</a></span></div>
</div>
</body></html>