Skip to content

Commit

Permalink
fix: playground offline
Browse files Browse the repository at this point in the history
  • Loading branch information
Enigmatis committed Jul 12, 2020
1 parent 9c08a49 commit d8cac37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/polaris-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class PolarisServer {
const endpoint = `${version}/graphql`;
app.use(this.apolloServer.getMiddleware({ path: `/${endpoint}` }));
app.use(
`/graphql-playground-react@${version}`,
`/@apollographql/graphql-playground-react@${version}`,
express.static(path.join(__dirname, '../../../static/playground')),
);
app.use('/$', (req: express.Request, res: express.Response) => {
Expand Down

0 comments on commit d8cac37

Please sign in to comment.