Add files via upload

This commit is contained in:
Jesse-Ma
2022-11-22 14:58:24 +08:00
committed by GitHub
parent 732907c3b6
commit 79c1831e6f
19 changed files with 638 additions and 796 deletions

View File

@@ -5,7 +5,7 @@ module.exports = defineConfig({
assetsDir:'static',
productionSourceMap: false,
configureWebpack: {
devtool: false,
// devtool: false,
plugins: [
new CompressionPlugin({
algorithm: "gzip", // 使用gzip压缩
@@ -27,7 +27,7 @@ module.exports = defineConfig({
devServer: {
proxy: {
"/note": {
target: "http://12coffee.club:3333/", // 后台接口域名
target: "http://localhost:3333/", // 后台接口域名
secure: false, // 如果是https接口需要配置这个参数
changeOrigin: true, //是否跨域
pathRewrite: {