feat:增加drawio模块

This commit is contained in:
2025-10-27 22:50:01 +08:00
parent f30035526a
commit cddc4f598c
2 changed files with 7 additions and 7 deletions

View File

@@ -58,8 +58,8 @@ server {
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;
} }
location /easynode/ { location /drawio/ {
proxy_pass http://host.docker.internal:8200/; proxy_pass http://host.docker.internal:8201/;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

View File

@@ -62,10 +62,10 @@
</el-card> </el-card>
<el-card class="app-card" style="background-color: #ecba0d;" <el-card class="app-card" style="background-color: #ecba0d;"
@click="easynodeClick"> @click="drawioClick">
<i class="fa-solid fa-book-open-reader"></i> <i class="fa-solid fa-diagram-project"></i>
<div> <div>
<span>EasyNode</span> <span>流程图</span>
</div> </div>
</el-card> </el-card>
@@ -143,8 +143,8 @@ const readestClick = () => {
window.open('https://web.readest.com/', '_blank'); window.open('https://web.readest.com/', '_blank');
} }
const easynodeClick = () => { const drawioClick = () => {
window.open(`${window.location.origin}/easynode/`, '_blank'); window.open(`${window.location.origin}/drawio/`, '_blank');
} }
const resumeClick = () => { const resumeClick = () => {