Skip to content
This repository has been archived by the owner on Nov 15, 2017. It is now read-only.

Commit

Permalink
Clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
fastner committed Feb 23, 2017
1 parent 2e40cff commit bc2898b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions template/server/index.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
/* eslint-disable no-console */
import { createExpressServer, createUniversalMiddleware, addFallbackHandler } from "edgestack"

import Root from "../app/Root"
import State from "../app/State"
import Config from "../app/Config.yml"

export function server()
{
var ssrData = {
apolloUri: "http://localhost:9123",
defaultLocale: Config.DEFAULT_LOCALE
}

return new Promise((resolve, reject) =>
Expand Down

0 comments on commit bc2898b

Please sign in to comment.