Skip to content

Commit c37c1c2

Browse files
authored
Always use HTTPS for CDN files
There's no point using insecure, deprecated HTTP even if the current page is on HTTP.
1 parent 9351626 commit c37c1c2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

graphene_django/templates/graphene/graphiql.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
width: 100%;
1717
}
1818
</style>
19-
<link href="//cdn.jsdelivr.net/npm/graphiql@{{graphiql_version}}/graphiql.css" rel="stylesheet" />
20-
<script src="//cdn.jsdelivr.net/npm/whatwg-fetch@2.0.3/fetch.min.js"></script>
21-
<script src="//cdn.jsdelivr.net/npm/react@16.2.0/umd/react.production.min.js"></script>
22-
<script src="//cdn.jsdelivr.net/npm/react-dom@16.2.0/umd/react-dom.production.min.js"></script>
23-
<script src="//cdn.jsdelivr.net/npm/graphiql@{{graphiql_version}}/graphiql.min.js"></script>
19+
<link href="https://cdn.jsdelivr.net/npm/graphiql@{{graphiql_version}}/graphiql.css" rel="stylesheet" />
20+
<script src="https://cdn.jsdelivr.net/npm/whatwg-fetch@2.0.3/fetch.min.js"></script>
21+
<script src="https://cdn.jsdelivr.net/npm/react@16.2.0/umd/react.production.min.js"></script>
22+
<script src="https://cdn.jsdelivr.net/npm/react-dom@16.2.0/umd/react-dom.production.min.js"></script>
23+
<script src="https://cdn.jsdelivr.net/npm/graphiql@{{graphiql_version}}/graphiql.min.js"></script>
2424
</head>
2525
<body>
2626
<script>

0 commit comments

Comments
 (0)