Skip to content

Commit

Permalink
chore(angular2-cookie-law): Expiration time..
Browse files Browse the repository at this point in the history
angular2-cookie-law now supports expiration time in latest version to avoid showing the cookie bar
every time a new browser session is triggered.
  • Loading branch information
andreasonny83 committed Jun 8, 2017
1 parent c8abac3 commit 95e8ea9
Show file tree
Hide file tree
Showing 3 changed files with 180 additions and 169 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@angular/platform-browser": "4.1.3",
"@angular/platform-browser-dynamic": "4.1.3",
"@angular/router": "4.1.3",
"angular2-cookie-law": "1.2.4",
"angular2-cookie-law": "1.3.0",
"angularfire2": "4.0.0-rc.0",
"classlist.js": "1.1.20150312",
"core-js": "2.4.1",
Expand Down
3 changes: 2 additions & 1 deletion src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@
[homepage]="homepage"></app-footer>
</div>

<cookie-law name="onlineBaordCookieLaw"></cookie-law>
<cookie-law name="onlineBoardCookieLaw"
expiration="365"></cookie-law>
</div>
Loading

0 comments on commit 95e8ea9

Please sign in to comment.