Solve the WeChat applet error request:fail url not in domain list

Question: The WeChat developer tool can send the request normally, but when debugging on the real device, an error is reported when sending the request: request:fail url not in domain list?

1. Check whether the WeChat background domain name information is configured with a legal domain name of request.

2. Check the local settings of WeChat, and check the box that does not verify legal domain names.

After the configuration is complete, you need to refresh the WeChat development tool to check whether the configuration is successful, and recompile. 

3. If after performing the above operations, an error is still reported in the mobile phone development version or trial version, it is recommended to delete all the applets and re-enter.

Guess you like

Origin blog.csdn.net/animatecat/article/details/126949749