Skip to content

Commit

Permalink
Fix issues during setup
Browse files Browse the repository at this point in the history
  • Loading branch information
elevenpassin committed Jan 16, 2019
1 parent 8eec8fe commit 75d98e0
Show file tree
Hide file tree
Showing 6 changed files with 21,625 additions and 9 deletions.
4 changes: 1 addition & 3 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ const { graphqlExpress, graphiqlExpress } = require('apollo-server-express');
const { makeExecutableSchema } = require('graphql-tools');

const typeDefs = require('./typeDefs.gql');

const CONNECTION_URL = `mongodb://${process.env.dbuser}:${process.env.dbpassword}@${process.env.dbhost}:46377/graphblog`;

const CONNECTION_URL = `mongodb://${process.env.dbuser}:${process.env.dbpassword}@${process.env.dbhost}:${process.env.dbport}/graphblog-testzone`;
mongoose.connect(CONNECTION_URL, {
useMongoClient: true
});
Expand Down
Loading

0 comments on commit 75d98e0

Please sign in to comment.