Skip to content

Commit bc7f69a

Browse files
committed
minor fixes
1 parent a0604c9 commit bc7f69a

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable @typescript-eslint/no-var-requires */
12
import express from 'express';
23
import cors from 'cors';
34
import { ApolloServer } from 'apollo-server-express';

mainPage.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function renderExamplesLinks() {
2828
}</a></b>`;
2929
});
3030
queries.push(
31-
`<b><a href="${meta.uri}-playground" target="_blank">GraphQL Playground</a> (improved GraphiQL IDE)</b>`
31+
`<b><a href="${meta.uri}" target="_blank">GraphQL Playground</a> (improved GraphiQL IDE)</b>`
3232
);
3333
queries.push(
3434
`<b><a href="${meta.uri}-altair" target="_blank">Altair</a> (improved GraphiQL IDE)</b>`

mongooseConnection.ts

-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ import { MONGODB_URI } from './config';
44
mongoose.Promise = Promise;
55

66
const opts = {
7-
autoReconnect: true,
8-
reconnectTries: Number.MAX_VALUE,
9-
reconnectInterval: 1000,
107
useNewUrlParser: true,
118
useCreateIndex: true,
129
useFindAndModify: false,

0 commit comments

Comments
 (0)