Skip to content

Commit 2118281

Browse files
committed
chore: cleanup
1 parent af4aeda commit 2118281

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

dist/instances.js

-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ var _config = require("./config");
1616
var pubsub = new _graphqlSubscriptions.PubSub();
1717
exports.pubsub = pubsub;
1818
var store = new _reactServer.Store({
19-
// file: './store.json',
20-
// logger,
2119
transport: new _transport.PostgresTransport({
2220
connectionString: "postgres://postgres:".concat(_config.PG_PASSWORD, "@localhost:5433/postgres")
2321
})

src/index.tsx

-4
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,12 @@ import { ApolloServer } from 'apollo-server-express';
22
import { makeExecutableSchema } from 'graphql-tools';
33
import { execute, subscribe } from 'graphql';
44
import { createServer } from 'http';
5-
import fs from 'fs';
6-
import path from 'path';
7-
import express from 'express';
85
import { SubscriptionServer } from 'subscriptions-transport-ws';
96
import {
107
Server,
118
TestComponent,
129
render,
1310
Dispatcher,
14-
createContext,
1511
} from '@state-less/react-server';
1612

1713
import { app, pubsub, store } from './instances';

src/instances.ts

-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ import { PG_PASSWORD } from './config';
99

1010
export const pubsub = new PubSub();
1111
export const store = new Store({
12-
// file: './store.json',
13-
// logger,
1412
transport: new PostgresTransport({
1513
connectionString: `postgres://postgres:${PG_PASSWORD}@localhost:5433/postgres`,
1614
}),

0 commit comments

Comments
 (0)