Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
# container a lot heavier, but we don't spin up many instances, or often,
# so it doesn't matter.

npm run build
serve -s build -l 8080
#npm run build
#serve -s build -l 8080

npm start -- --port 8080
7 changes: 6 additions & 1 deletion 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 @@ -16,6 +16,7 @@
"pcic-react-leaflet-components": "git+https://git@github.com/pacificclimate/pcic-react-leaflet-components.git",
"proj4": "^2.5.0",
"proj4leaflet": "^1.0.2",
"promise-polyfill": "8.1.3",
"prop-types": "^15.6.2",
"react": "^16.13.1",
"react-bootstrap": "^1.0.1",
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import ExternalText from './temporary/external-text';
import ErrorBoundary from './components/misc/ErrorBoundary';
import App from './components/app-root/App';
import { makeYamlLoader } from './utils/external-text';
import 'promise-polyfill/src/polyfill';


const loadTexts = makeYamlLoader(
Expand Down
1 change: 1 addition & 0 deletions src/temporary/external-text.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ export function get(
}
return (<ReactMarkdown escapeHtml={false} source={source} {...props}/>);
} catch (e) {
console.trace();
return whenErrorResponse(
as, whenError, `Error in external text '${path}': ${e.toString()}.`
);
Expand Down