Skip to content

Commit

Permalink
add react-app-polyfill package
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyubinhan committed Dec 24, 2018
1 parent c26e921 commit 3b3fd18
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
18 changes: 15 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"prop-types": "^15.6.2",
"puppeteer": "^1.10.0",
"react": "^16.6.1",
"react-app-polyfill": "^0.2.0",
"react-dom": "^16.6.1",
"react-loadable": "^5.5.0",
"react-pdf": "^3.0.6",
Expand Down
4 changes: 2 additions & 2 deletions src/constants/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ export const GET_TOKEN_FROM_SSO = `/auth/realms/${SSO_REALM_NAME}/protocol/openi
export const REFRESH_TOKEN_FROM_SSO = `/auth/realms/${SSO_REALM_NAME}/protocol/openid-connect/token`;

// const DEV_API_BASE_URL = 'https://web-range-myra-prod.pathfinder.gov.bc.ca/api';
const DEV_API_BASE_URL = 'https://web-range-myra-dev.pathfinder.gov.bc.ca/api';
// const DEV_API_BASE_URL = 'https://web-range-myra-dev.pathfinder.gov.bc.ca/api';
// const DEV_API_BASE_URL = 'https://web-range-myra-test.pathfinder.gov.bc.ca/api';
// const DEV_API_BASE_URL = 'http://localhost:8000/api';
const DEV_API_BASE_URL = 'http://localhost:8000/api';
// const DEV_API_BASE_URL = 'http://10.10.10.190:8000/api';


Expand Down
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// asynchronously load semantic-ui styling
import('./semantic/semantic.min.css');

import 'react-app-polyfill/ie9'; // includes IE10 and IE11 support.

import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
Expand Down

0 comments on commit 3b3fd18

Please sign in to comment.