Automattic / vip-decoupled-bundle

WordPress VIP decoupled plugin bundle
29 stars 5 forks source link

Fix graphql endpoint rewrite #66

Closed alecgeatches closed 2 years ago

alecgeatches commented 2 years ago

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.