Merge pull request #483 from utkarshkukreti/add-missing-fonts-to-playground_source

add missing fonts to http::playground_source's html
This commit is contained in:
Sunli 2021-04-19 16:24:34 +08:00 committed by GitHub
commit 4b30a1c173

View File

@ -24,7 +24,7 @@ pub fn playground_source(config: GraphQLPlaygroundConfig) -> String {
<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>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|Source+Code+Pro:400,700" />
</head>
<body>