Skip to content

Commit

Permalink
fix: playground can be used offline
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorVoid committed Jan 8, 2020
1 parent c658cc4 commit 555a6b1
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 @@ -125,7 +125,7 @@ export class PolarisServer {
'/graphql-playground-react',
express.static(path.join(__dirname, '../../../static/playground')),
);
app.use('/$', (req: express.Request, res: express.Response, next: express.NextFunction) => {
app.use('/$', (req: express.Request, res: express.Response) => {
res.redirect(endpoint);
});
}
Expand Down

0 comments on commit 555a6b1

Please sign in to comment.