Skip to content

Commit 46f0d04

Browse files
authored
Pinpoint GraphiQL assets to version 3 (#62)
1 parent d160569 commit 46f0d04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GraphiQLAsset.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ class GraphiQLAsset
1616
public const REACT_DOM_JS_SOURCE_URL = 'https://cdn.jsdelivr.net/npm/react-dom@18/umd/react-dom.production.min.js';
1717

1818
public const GRAPHIQL_CSS_LOCAL_PATH = 'vendor/graphiql/graphiql.min.css';
19-
public const GRAPHIQL_CSS_SOURCE_URL = 'https://cdn.jsdelivr.net/npm/graphiql/graphiql.min.css';
19+
public const GRAPHIQL_CSS_SOURCE_URL = 'https://cdn.jsdelivr.net/npm/graphiql@3/graphiql.min.css';
2020

2121
public const FAVICON_LOCAL_PATH = 'vendor/graphiql/favicon.ico';
2222
public const FAVICON_SOURCE_URL = 'https://raw.githubusercontent.com/graphql/graphql.github.io/source/public/favicon.ico';
2323

2424
public const GRAPHIQL_JS_LOCAL_PATH = 'vendor/graphiql/graphiql.min.js';
25-
public const GRAPHIQL_JS_SOURCE_URL = 'https://cdn.jsdelivr.net/npm/graphiql/graphiql.min.js';
25+
public const GRAPHIQL_JS_SOURCE_URL = 'https://cdn.jsdelivr.net/npm/graphiql@3/graphiql.min.js';
2626

2727
public const PLUGIN_EXPLORER_JS_LOCAL_PATH = 'vendor/graphiql/graphiql-plugin-explorer.umd.js';
2828
/** Pinned because the latest version broke, see https://github.com/mll-lab/laravel-graphiql/issues/25. */

0 commit comments

Comments
 (0)