How to access files under the webpack server

WeCom third-party application development needs to verify the ownership of secure domain names
I use natapp to map the internal network out localhost:8080 can use the external network URL http://gmrkds.natappfree.com access

to verify the domain name, you need to put the txt file provided by Wechat into the root directory of http://gmrkds.natappfree.com

I visit http://gmrkds.natappfree.com/... will automatically jump to

http://gmrkds.natappfree.com/...

I want to visit http://gmrkds.natappfree.com/... to open the .txt file directly

could you tell me how to solve

Apr.13,2022

solves the problem of using vue-cli3 and puts the file directly into public

Menu