1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | var graphql_playground_html_1 = require("graphql-playground-html");
|
4 | var express = function voyagerExpress(options) {
|
5 | return function (req, res, next) {
|
6 | res.setHeader('Content-Type', 'text/html');
|
7 | var playground = graphql_playground_html_1.renderPlaygroundPage(options);
|
8 | res.write(playground);
|
9 | res.end();
|
10 | };
|
11 | };
|
12 | exports.default = express;
|
13 | //# sourceMappingURL=index.js.map |
\ | No newline at end of file |