Skip to content

Commit

Permalink
everything is working now
Browse files Browse the repository at this point in the history
  • Loading branch information
Maumasi committed Oct 21, 2016
1 parent 69deadc commit 38fa062
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 56 deletions.
Binary file modified .DS_Store
Binary file not shown.
53 changes: 0 additions & 53 deletions hold-package.json

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "url-shortener",
"version": "1.6.5",
"version": "1.6.3",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const express = require('express');
const sessions = require('express-session');
const routes = require('./src/routes/');
const log = require('log-me').print;
require('dotenv').config();
// require('dotenv').config();

const app = express();
const PORT = process.env.PORT || 3000;
Expand Down
2 changes: 1 addition & 1 deletion src/models/db.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

const Sequelize = require('sequelize');
require('dotenv').config();
// require('dotenv').config();

// connect to the db
const sequelize = new Sequelize(process.env.DB_NAME, process.env.DB_USER, process.env.DB_PW, {
Expand Down

0 comments on commit 38fa062

Please sign in to comment.