From 1fe10d3b7b7dd9b4ac560c7a5039b5b28af41258 Mon Sep 17 00:00:00 2001
From: Cxx0822 <1556464090@qq.com>
Date: Wed, 22 Oct 2025 22:43:23 +0800
Subject: [PATCH] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0=E7=94=B5=E5=AD=90?=
=?UTF-8?q?=E4=B9=A6=E6=A8=A1=E5=9D=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
nginx.conf | 11 +++++++++++
src/App.vue | 24 ++++++++++++++++++++++++
2 files changed, 35 insertions(+)
diff --git a/nginx.conf b/nginx.conf
index fa76afd..bbd0ed4 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -39,6 +39,17 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
}
+ location /calibre {
+ proxy_pass http://host.docker.internal:8100;
+ 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;
+ proxy_set_header X-Script-Name /calibre;
+
+ client_max_body_size 500M;
+ }
+
location /home-api/ {
proxy_pass http://host.docker.internal:8081/;
}
diff --git a/src/App.vue b/src/App.vue
index beb6dfe..ec86482 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -45,6 +45,22 @@
+
+
+
+ 电子书库
+
+
+
+
+
+
+ 电子书阅读
+
+
+
@@ -111,6 +127,14 @@ const giteaClick = () => {
window.open('https://cxxgit.iepose.cn/', '_blank');
}
+const calibreClick = () => {
+ window.open(`${window.location.origin}/calibre/`, '_blank');
+}
+
+const readestClick = () => {
+ window.open('https://web.readest.com/', '_blank');
+}
+
const resumeClick = () => {
ElMessage.info('敬请期待')
}