Can't vue-cli access the .txt file when configuring Wechat's callback URL?

clipboard.png

if you put the file in the root directory, you can"t access the file, but you can access it under static, but the callback URL cannot be
http://myiwowke.natapp1.cc/st.. Ask for a solution

.
Mar.21,2021

you have, awesome, the correct way to open a server directly with webpack-dev-server is build, and use running services such as nginx apacheap to access the files from build


. Have you solved the problem? Mainly want to debug on this machine, but callback authorization cannot access

Menu