Skip to content

Commit

Permalink
Omitting links key results in crash and security fix (#333)
Browse files Browse the repository at this point in the history
* Omitting links key results in crash #332

* Update changelog
  • Loading branch information
ragaeeb authored Jan 10, 2021
1 parent 3ea278f commit cfacbcf
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 23 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.8.1] - 2021-01-04

### Updated

- [Update gatsby monorepo](https://github.com/ragaeeb/das-js/pull/329)
- [Update dependency gatsby-plugin-sass to v3](https://github.com/ragaeeb/das-js/pull/330)
- [Update dependency react-bootstrap to v1.4.3](https://github.com/ragaeeb/das-js/pull/331)

### Fixed

- [Omitting links key results in crash](https://github.com/ragaeeb/das-js/issues/332)

## [0.8.0] - 2021-01-04

### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ At this point this may take some time (ie: usually an hour or so) to change the
18. Click `Create Page Rule`.
19. For `URL matches` set it to: `http://yourdomain.com/*`, in the setting select `Always Use HTTPS`. Click `Save`.
20. Click `Create Page Rule`.
21. For `URL matches` set it to: `http://www.yourdomain.com/*`, in the setting select `Always Use HTTPS`. Click `Save`.
21. For `URL matches` set it to: `www.yourdomain.com/*`, in the setting select `Forwarding URL` with `301 - Permanent Redirect` and set the redirect to `https//yourdomain.com/$1`. Click `Save`.
22. For `URL matches` set it to: `https://www.yourdomain.com/*`, in the setting select `Cache Level` and choose `Cache Everything`. Click `Save`.
23. Enable all the rules.

Expand Down
40 changes: 20 additions & 20 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"homepage": "https://dar-as-sahaba.com",
"author": "Dar as-Sahaba",
"description": "Dār as-Ṣaḥābah Association",
"version": "0.8.0",
"version": "0.8.1",
"license": "MIT",
"contributors": [
{
Expand Down
2 changes: 1 addition & 1 deletion src/components/Hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const Hero = () => {
const { hero } = useContext(PortfolioContext);
const {
calculation,
links,
links = {},
istijabaText,
iqamahs,
labels = {},
Expand Down

0 comments on commit cfacbcf

Please sign in to comment.