我正在尝试使用通过 XAMPP Apache localhost 服务器提供的 GraphQL 端点(从无头 WordPress 项目自动生成),但是当我使用 WordPress 中的 GraphQL 设置建议的端点时(https://localhost/does-pizza/ graphql) 我得到一个 404 URL not found。
一些细节可能对任何试图回答这个问题的人有用:
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the installation.
* You don't have to use the web site, you can copy this file to "wp-config.php"
* and fill in the values.
*
* This file contains the following configurations:
* …Run Code Online (Sandbox Code Playgroud)