Open id7368 opened 6 years ago
此前按作者文章提示基于安全考虑已经将wp-json设置为仅允许移动设备访问,微信目前已经开启iPad小程序测试,所以得增加iPad不然访问403:
location /wp-json { if ($http_user_agent !~ '(iPhone|Android|iPad)'){ return 403; } try_files $uri $uri/ /index.php?$args; }
开发者工具已经更新支持iPad版横竖屏调试:https://www.landiannews.com/archives/49201.html
这个不错
此前按作者文章提示基于安全考虑已经将wp-json设置为仅允许移动设备访问,微信目前已经开启iPad小程序测试,所以得增加iPad不然访问403:
开发者工具已经更新支持iPad版横竖屏调试:https://www.landiannews.com/archives/49201.html