diff --git a/wp-graphiql.php b/wp-graphiql.php index b7fe03a..92b1d5e 100644 --- a/wp-graphiql.php +++ b/wp-graphiql.php @@ -60,7 +60,7 @@ public function render_admin_page() { * @return array|bool|string */ public function get_app_manifest() { - $manifest = file_get_contents( plugins_url( 'wp-graphiql/assets/app/build/asset-manifest.json' ) ); + $manifest = file_get_contents( dirname( __FILE__ ) . '/assets/app/build/asset-manifest.json' ); $manifest = (array) json_decode( $manifest ); return $manifest; }