Add files via upload
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user