feat:增加easynode

This commit is contained in:
2025-10-24 17:24:35 +08:00
parent 1fe10d3b7b
commit 6329616f4b
2 changed files with 20 additions and 0 deletions

View File

@@ -50,6 +50,14 @@ server {
client_max_body_size 500M; client_max_body_size 500M;
} }
location /easynode {
proxy_pass http://host.docker.internal:8200;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /home-api/ { location /home-api/ {
proxy_pass http://host.docker.internal:8081/; proxy_pass http://host.docker.internal:8081/;
} }

View File

@@ -61,6 +61,14 @@
</div> </div>
</el-card> </el-card>
<el-card class="app-card" style="background-color: #ecba0d;"
@click="easynodeClick">
<i class="fa-solid fa-book-open-reader"></i>
<div>
<span>EasyNode</span>
</div>
</el-card>
<el-card class="app-card" style="background-color: #926851;" <el-card class="app-card" style="background-color: #926851;"
@click="resumeClick"> @click="resumeClick">
<i class="fa-solid fa-newspaper"></i> <i class="fa-solid fa-newspaper"></i>
@@ -135,6 +143,10 @@ const readestClick = () => {
window.open('https://web.readest.com/', '_blank'); window.open('https://web.readest.com/', '_blank');
} }
const easynodeClick = () => {
window.open(`${window.location.origin}/easynode/`, '_blank');
}
const resumeClick = () => { const resumeClick = () => {
ElMessage.info('敬请期待') ElMessage.info('敬请期待')
} }