Feature/authentication #36

Merged
KevinMidboe merged 7 commits from feature/authentication into master 2017-09-27 14:30:06 +00:00
Showing only changes of commit bab4af08d9 - Show all commits

View File

@@ -11,6 +11,9 @@ app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: true }));
/* Decode the Authorization header if provided */
app.use(tokenToUser);
var port = 31459; // set our port
var router = express.Router();
var allowedOrigins = ['https://kevinmidboe.com', 'http://localhost:8080']