add:修改使用reportlab完成md转pdf
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user