File tree 3 files changed +0
-8
lines changed
3 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,6 @@ var _config = require("./config");
16
16
var pubsub = new _graphqlSubscriptions . PubSub ( ) ;
17
17
exports . pubsub = pubsub ;
18
18
var store = new _reactServer . Store ( {
19
- // file: './store.json',
20
- // logger,
21
19
transport : new _transport . PostgresTransport ( {
22
20
connectionString : "postgres://postgres:" . concat ( _config . PG_PASSWORD , "@localhost:5433/postgres" )
23
21
} )
Original file line number Diff line number Diff line change @@ -2,16 +2,12 @@ import { ApolloServer } from 'apollo-server-express';
2
2
import { makeExecutableSchema } from 'graphql-tools' ;
3
3
import { execute , subscribe } from 'graphql' ;
4
4
import { createServer } from 'http' ;
5
- import fs from 'fs' ;
6
- import path from 'path' ;
7
- import express from 'express' ;
8
5
import { SubscriptionServer } from 'subscriptions-transport-ws' ;
9
6
import {
10
7
Server ,
11
8
TestComponent ,
12
9
render ,
13
10
Dispatcher ,
14
- createContext ,
15
11
} from '@state-less/react-server' ;
16
12
17
13
import { app , pubsub , store } from './instances' ;
Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ import { PG_PASSWORD } from './config';
9
9
10
10
export const pubsub = new PubSub ( ) ;
11
11
export const store = new Store ( {
12
- // file: './store.json',
13
- // logger,
14
12
transport : new PostgresTransport ( {
15
13
connectionString : `postgres://postgres:${ PG_PASSWORD } @localhost:5433/postgres` ,
16
14
} ) ,
You can’t perform that action at this time.
0 commit comments