提交 529bce0f authored 作者: 王鹏飞's avatar 王鹏飞

chore: update

上级 f2cd8f6e
import fs from 'fs'
import path from 'path'
import fs from 'node:fs'
import path from 'node:path'
import chalk from 'chalk'
import OSS from 'ali-oss'
......
......@@ -17,7 +17,7 @@ const currentList = $computed(() => {
})
})
function fetchList() {
getMessages({ source: 'RESOURCE_MARKETING', is_read: 0, limit: 100 }).then(res => {
getMessages({ source: 'RESOURCE_MARKETING', is_read: 0, is_platform: 0, limit: 100 }).then(res => {
list = res.data.data
})
}
......
import fs from 'fs'
import path from 'path'
import { fileURLToPath, URL } from 'url'
import fs from 'node:fs'
import path from 'node:path'
import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
......@@ -26,12 +26,12 @@ export default defineConfig(({ mode }) => ({
cert: fs.readFileSync(path.join(__dirname, './https/dev.ezijing.com.pem'))
},
proxy: {
'/api/lab': {
target: 'https://resource-api-test.ezijing.com',
changeOrigin: true,
rewrite: path => path.replace(/^\/api\/lab/, '')
},
'/api': 'https://resource-center.ezijing.com'
// '/api/lab': {
// target: 'https://resource-api-test.ezijing.com',
// changeOrigin: true,
// rewrite: path => path.replace(/^\/api\/lab/, '')
// },
'/api': 'https://saas-lab.ezijing.com'
}
},
resolve: {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论