yangys
2024-01-13 b8d63989635bc9fb58357f76333796e21409985b
config/index.js
@@ -1,3 +1,9 @@
/*
 * @Date: 2023-12-20 20:21:29
 * @LastEditors: Sneed
 * @LastEditTime: 2024-01-05 23:44:25
 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/config/index.js
 */
'use strict'
// Template version: 1.2.6
// see http://vuejs-templates.github.io/webpack for documentation.
@@ -11,14 +17,14 @@
    assetsSubDirectory: 'static',
    assetsPublicPath: '/',
    proxyTable: {
      '/api': {
      '/mdc': {
   //  target: 'http://172.20.10.8:8087/',
      //  target: 'http://192.168.230.143:8087/',
      target: 'http://localhost:8087/',
      target: 'http://116.63.148.72:8088/',
      // target: 'http://111.230.17.122:8087/',
        changeOrigin: true,
        pathRewrite: {
          '^/api': '/'
          '^/mdc': '/mdc'
        }
      }
    },
@@ -34,7 +40,7 @@
    // Use Eslint Loader?
    // If true, your code will be linted during bundling and
    // linting errors and warnings will be shown in the console.
    useEslint: true,
    useEslint: false,
    // If true, eslint errors and warnings will also be shown in the error overlay
    // in the browser.
    showEslintErrorsInOverlay: false,
@@ -62,7 +68,7 @@
  build: {
    // Template for index.html
    index: path.resolve(__dirname, '../dist/index.html'),
    test: path.resolve(__dirname, '../dist/test.html'),
    // Paths
    assetsRoot: path.resolve(__dirname, '../dist'),
    assetsSubDirectory: 'static',