Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Sairakan committed Aug 16, 2018
1 parent c167277 commit 8d891e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var express = require('express')
var app = express()

// const origin = "http://localhost:4200";
const origin = (process.env.PORT? "https://webdev-client-angular-jteng.herokuapp.com" : "http://localhost:4200");
const origin = (process.env.PORT ? "https://webdev-client-angular-jteng.herokuapp.com" : "http://localhost:4200");

app.use((req, res, next) => {
res.header("Access-Control-Allow-Origin",
Expand Down

0 comments on commit 8d891e7

Please sign in to comment.