After the project has set up webpack proxy, how to package and deploy the release?

api.js

export async function getAdminUser(params) {
  return request(`/api/admin/user/` + params);
}

.webpackrc.js

  proxy: {
    "/api/admin": {
      target: "http://48.xxx.xxx.xx:8080/",    // 
      changeOrigin: true,
    },
  },
The

project uses a proxy, and the proxy api connects to the test server
what changes should I make if I want to package and publish to the official server now?


proxy only works in development mode. Please configure the proxy service (Nginx, etc.) online.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b386aa-2b476.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b386aa-2b476.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?