In vue, you need to access interfaces under different domain names according to different features. How to configure cross-domain interfaces?

using proxyTable can only write all domain names in index.js, how to dynamically change the domain name of the interface?


write a public configuration file


proxyTable can write matching rules
such as / v1/xxx directs to www.xxx.com
/ v2/xxx directs to www.yyy.com

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