Request local JSON data in a umi+dva environment

in the environment built with umi+dva, there is a JSON file in the directory, which cannot be accessed by axios request, and all html files are returned

Mar.05,2022

create a new public folder under the root directory, and put the json file
in this folder. The reason is related to the contentBase configuration. Restart the project

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