A question about axios cross-protocol requests

Project uses vue-cli family bucket. Since the project has just been upgraded from http to https, the axios, used for asynchronous request has been tested to see if there is a problem with API access. It is found that there is an inexplicable problem: the url of the
request will be preceded by a local domain name (this is local debugging, and if it is online debugging, it will bring the corresponding online domain name). Why?

clipboard.png

config/index.js


:


:

clipboard.png

Mar.28,2021

defaults to a relative path, such as axios.get ('/ api/login') . Now that you have used vue-cli, you are advised to configure proxyTable , do a proxy forwarding, and set it in the file config/index.js.

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-1e5dce6-44ab1.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-1e5dce6-44ab1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?