add:修改使用reportlab完成md转pdf

This commit is contained in:
2026-01-15 23:45:46 +08:00
parent cecc8c65be
commit 0cc1a9484e
7 changed files with 436 additions and 299 deletions

View File

@@ -7,8 +7,9 @@ export default defineConfig({
server: {
proxy: {
'/api': {
target: 'http://localhost:8000',
target: 'http://127.0.0.1:8000',
changeOrigin: true,
rewrite: (path) => path,
configure: (proxy) => {
const p = proxy as any
p.timeout = 120000
@@ -16,7 +17,7 @@ export default defineConfig({
},
},
'/config': {
target: 'http://localhost:8000',
target: 'http://127.0.0.1:8000',
changeOrigin: true,
configure: (proxy) => {
const p = proxy as any
@@ -25,7 +26,7 @@ export default defineConfig({
},
},
'/md': {
target: 'http://localhost:8000',
target: 'http://127.0.0.1:8000',
changeOrigin: true,
configure: (proxy) => {
const p = proxy as any
@@ -34,7 +35,7 @@ export default defineConfig({
},
},
'/refresh.js': {
target: 'http://localhost:8000',
target: 'http://127.0.0.1:8000',
changeOrigin: true,
configure: (proxy) => {
const p = proxy as any