Skip to content

Commit

Permalink
fix: removed CORS restrictions for testing purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
ElijahMcKay committed Mar 19, 2020
1 parent 37c8618 commit 78b536e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ const server = express();
server.use(express.json());
// security things, google for more info
server.use(helmet());
server.use(cors({
origin: 'https://g2kitbuilder.com'
}));
server.use(cors());

// route imports
const testRoutes = require('./routes/test-routes');
Expand Down

0 comments on commit 78b536e

Please sign in to comment.