Skip to content

Commit

Permalink
Merge pull request #344 from hackforla/FE_CORS
Browse files Browse the repository at this point in the history
Fixed cors issue when deployed to prod
  • Loading branch information
sellnat77 authored Mar 2, 2020
2 parents d244c7e + 12e13fe commit cc38fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/redux/rootSaga.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
getDataFailure,
} from './reducers/data';

const pinUrl = `http://${process.env.DB_URL}/pins`;
const pinUrl = `https://${process.env.DB_URL}/pins`;
const getState = (state, slice) => state[slice];

function* getData() {
Expand Down

0 comments on commit cc38fdc

Please sign in to comment.