See https://github.com/Automattic/vip-go-nextjs-skeleton/pull/100 for the same fix in the NextJS skeleton. As of recently, the environment created by wp-env does not allow .htaccess writes which breaks the /graphql endpoint. This maps an .htaccess file via .wp-env.json config to fix the issue.
See https://github.com/Automattic/vip-go-nextjs-skeleton/pull/100 for the same fix in the NextJS skeleton. As of recently, the environment created by
wp-env
does not allow.htaccess
writes which breaks the/graphql
endpoint. This maps an.htaccess
file via.wp-env.json
config to fix the issue.