graphql-spqr-spring-boot-starter
graphql-spqr-spring-boot-starter copied to clipboard
fix playground cannot be used offline #82
Hello ! thanks for this library.
Limited to CDN files cannot be accessed offline. https://github.com/leangen/graphql-spqr-spring-boot-starter/blob/master/graphql-spqr-spring-boot-autoconfigure/src/main/resources/playground.html
<head>
<meta charset=utf-8/>
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, minimal-ui">
<title>${pageTitle}</title>
<link rel="stylesheet" href="/cdn.jsdelivr.net/npm/graphql-playground-react/build/static/css/index.css" />
<link rel="shortcut icon" href="//cdn.jsdelivr.net/npm/graphql-playground-react/build/favicon.png" />
<script src="//cdn.jsdelivr.net/npm/graphql-playground-react/build/static/js/middleware.js"></script>
</head>