打包 build

This commit is contained in:
iVampireSP.com 2023-05-14 18:40:42 +08:00
parent 6322f9d4a3
commit 3b92963364
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132
13 changed files with 174 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,6 +1,5 @@
/.phpunit.cache /.phpunit.cache
/node_modules /node_modules
/public/build
/public/hot /public/hot
/public/storage /public/storage
/storage/*.key /storage/*.key

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{r as s,o as a,c as l,a as r,F as t,e as d,t as n}from"./app-513ef237.js";const _=r("h1",null,"客户端下载",-1),c={class:"table table-bordered"},p=r("thead",null,[r("tr",null,[r("th",null,"名称"),r("th",null,"架构"),r("th",null,"下载")])],-1),u=["href"],M={name:"Downloads",setup(m){const o=s([{name:"Windows Frpc amd64",arch:"amd64",url:"https://r2.laecloud.com/MEFrpRelease/MirrorEdgeFrp_0.46.1_beta_windows_amd64.zip"},{name:"Windows Frpc i386",arch:"i386",url:"https://r2.laecloud.com/MEFrpRelease/MirrorEdgeFrp_0.46.1_beta_windows_386.zip"},{name:"Windows Python 图形化启动器",arch:"amd64",url:"https://r2.laecloud.com/MEFrpRelease/Mirror_Edge_Frp_Python_Win.zip"},{name:"Linux Frpc amd64",arch:"amd64",url:"https://r2.laecloud.com/MEFrpRelease/frp_MirrorEdgeFrp_0.46.1_beta_linux_amd64.tar.gz"},{name:"Linux Frpc arm64",arch:"arm64",url:"https://r2.laecloud.com/MEFrpRelease/frp_MirrorEdgeFrp_0.46.1_beta_linux_arm64.tar.gz"},{name:"Darwin Frpc amd64",arch:"amd64",url:"https://r2.laecloud.com/MEFrpRelease/frp_MirrorEdgeFrp_0.46.1_beta_darwin_amd64.tar.gz"},{name:"Darwin Frpc arm64",arch:"arm64",url:"https://r2.laecloud.com/MEFrpRelease/frp_MirrorEdgeFrp_0.46.1_beta_darwin_arm64.tar.gz"}]);return(h,F)=>(a(),l(t,null,[_,r("table",c,[p,r("tbody",null,[(a(!0),l(t,null,d(o.value,e=>(a(),l("tr",null,[r("td",null,n(e.name),1),r("td",null,n(e.arch),1),r("td",null,[r("a",{href:e.url},"下载",8,u)])]))),256))])])],64))}};export{M as default};

View File

@ -0,0 +1 @@
import{i as d}from"./http-f15854d8.js";import{r as p,d as _,o as s,c as r,a as e,F as c,e as i,t as o,f as h,w as u,g as m}from"./app-513ef237.js";const v=e("h3",null,"隧道列表",-1),k={class:"table table-hover"},f=e("thead",null,[e("tr",null,[e("th",{scope:"col"},"ID"),e("th",{scope:"col"},"名称"),e("th",{scope:"col"},"协议"),e("th",{scope:"col"},"本地地址"),e("th",{scope:"col"},"远程端口/域名"),e("th",{scope:"col"},"服务器"),e("th",{scope:"col"},"状态")])],-1),g={key:0},x={key:1},y={key:0,class:"text-success"},b={key:1,class:"text-danger"},V={name:"Index",setup(w){const a=p([{id:"0",protocol:"",server:{server_address:"",server_port:"",name:""},run_id:""}]);return d.get("tunnels").then(l=>{a.value=l.data,console.log(a.value)}),(l,B)=>{const n=_("router-link");return s(),r(c,null,[v,e("table",k,[f,e("tbody",null,[(s(!0),r(c,null,i(a.value,t=>(s(),r("tr",null,[e("th",null,o(t.id),1),e("td",null,[h(n,{to:{name:"tunnels.show",params:{id:t.id}}},{default:u(()=>[m(o(t.name),1)]),_:2},1032,["to"])]),e("td",null,o(t.protocol.toString().toUpperCase()),1),e("td",null,o(t.local_address),1),e("td",null,[t.protocol==="http"||t.protocol==="https"?(s(),r("span",g,o(t.custom_domain),1)):(s(),r("span",x,o(t.server.server_address)+":"+o(t.remote_port),1))]),e("td",null,o(t.server.name),1),e("td",null,[t.run_id?(s(),r("span",y,"在线")):(s(),r("span",b,"离线"))])]))),256))])])],64)}}};export{V as default};

View File

@ -0,0 +1 @@
import{i as r}from"./http-f15854d8.js";import{r as c,o as n,c as l,a as e,t,u as i,b as u,F as m}from"./app-513ef237.js";const _=e("div",null,[e("h1",null,"欢迎")],-1),d={class:"mt-3"},p={key:0,class:"mt-3"},f=e("p",null,"注意,您没有完成实名认证,请点击下方按钮完成实名认证,否则您只能使用中国大陆以外的隧道。",-1),h=e("a",{class:"btn btn-primary",target:"_blank",href:"https://oauth.laecloud.com/real_name"},"实名认证",-1),k={name:"Index",setup(v){const o=window.Base.SiteName,a=c({name:"loading...",traffic:""});return r.get("user").then(s=>{a.value=s.data}),(s,g)=>(n(),l(m,null,[_,e("div",d,[e("p",null,"用户名: "+t(a.value.name),1),e("p",null,"剩余流量: "+t(a.value.traffic)+"GB",1)]),a.value.realnamed?u("",!0):(n(),l("div",p,[f,h,e("p",null,"在实名认证后,请重新登录 "+t(i(o))+"。",1)]))],64))}};export{k as default};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-weight:400!important}.text-auto{color:#333}.text-reverse,.text-reverse:hover,.text-reverse:visited{color:#fff}.bg-reverse{background-color:#333}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
import{p as a,m as n}from"./app-513ef237.js";let t=a.create({baseURL:"/api",timeout:1e4,headers:{"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":document.querySelector('meta[name="csrf-token"]').getAttribute("content")}});t.interceptors.request.use(e=>(e.headers,e.headers.Accept="application/json",e),e=>(console.error(e),Promise.reject(e)));t.interceptors.response.use(e=>Promise.resolve(e),e=>{console.error("axios error",e);let s=[];e.response.data.data&&(s=e.response.data.data),e.response.data.message&&(s=e.response.data.message),e.response.data.error&&(s=e.response.data.error.message),e.response.status===429?alert("请求次数过多"):e.response.status===401||(e.response.status===404?n.push({name:"index"}):s.length!==0&&alert(s))});export{t as i};

View File

@ -0,0 +1,88 @@
{
"_http-f15854d8.js": {
"file": "assets/http-f15854d8.js",
"imports": [
"resources/js/app.js"
]
},
"node_modules/bootstrap-icons/font/fonts/bootstrap-icons.woff": {
"file": "assets/bootstrap-icons-c6569d46.woff",
"src": "node_modules/bootstrap-icons/font/fonts/bootstrap-icons.woff"
},
"node_modules/bootstrap-icons/font/fonts/bootstrap-icons.woff2": {
"file": "assets/bootstrap-icons-966620f9.woff2",
"src": "node_modules/bootstrap-icons/font/fonts/bootstrap-icons.woff2"
},
"resources/css/app.css": {
"file": "assets/app-24b136a9.css",
"isEntry": true,
"src": "resources/css/app.css"
},
"resources/js/app.css": {
"file": "assets/app-81a45845.css",
"src": "resources/js/app.css"
},
"resources/js/app.js": {
"assets": [
"assets/bootstrap-icons-966620f9.woff2",
"assets/bootstrap-icons-c6569d46.woff"
],
"css": [
"assets/app-81a45845.css"
],
"dynamicImports": [
"resources/js/views/Index.vue",
"resources/js/views/Tunnels/Index.vue",
"resources/js/views/Tunnels/Create.vue",
"resources/js/views/Tunnels/Show.vue",
"resources/js/views/Downloads.vue"
],
"file": "assets/app-513ef237.js",
"isEntry": true,
"src": "resources/js/app.js"
},
"resources/js/views/Downloads.vue": {
"file": "assets/Downloads-a9b5d8fc.js",
"imports": [
"resources/js/app.js"
],
"isDynamicEntry": true,
"src": "resources/js/views/Downloads.vue"
},
"resources/js/views/Index.vue": {
"file": "assets/Index-3131eacb.js",
"imports": [
"_http-f15854d8.js",
"resources/js/app.js"
],
"isDynamicEntry": true,
"src": "resources/js/views/Index.vue"
},
"resources/js/views/Tunnels/Create.vue": {
"file": "assets/Create-8686e4c4.js",
"imports": [
"resources/js/app.js",
"_http-f15854d8.js"
],
"isDynamicEntry": true,
"src": "resources/js/views/Tunnels/Create.vue"
},
"resources/js/views/Tunnels/Index.vue": {
"file": "assets/Index-1b63ea2a.js",
"imports": [
"_http-f15854d8.js",
"resources/js/app.js"
],
"isDynamicEntry": true,
"src": "resources/js/views/Tunnels/Index.vue"
},
"resources/js/views/Tunnels/Show.vue": {
"file": "assets/Show-6f6afe7f.js",
"imports": [
"_http-f15854d8.js",
"resources/js/app.js"
],
"isDynamicEntry": true,
"src": "resources/js/views/Tunnels/Show.vue"
}
}