Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit cfdef51

Browse files
authored
Merge pull request #1235 from City-of-Helsinki/TILA-1368-2
TILA-1368 cookie consent #2
2 parents f622212 + eccf3dc commit cfdef51

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "varaamo",
3-
"version": "0.12.4",
3+
"version": "0.12.5",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/City-of-Helsinki/varaamo"

server/Html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Html extends Component {
2323
}
2424

2525
renderCookieHubCode() {
26-
const cookieHubString = `var cpm = {};
26+
const cookieHubString = `var cpm = {cookie:{domain:''}};
2727
(function(h,u,b){
2828
var d=h.getElementsByTagName('script')[0],e=h.createElement('script');
2929
e.async=true;e.src='https://cookiehub.net/c2/c7e96adf.js';

src/domain/footer/__tests__/__snapshots__/Footer.test.js.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ exports[`domain/footer/Footer When there is no customization in use renders corr
5656
<span
5757
className="app-varaamo-version"
5858
>
59-
v0.12.4
59+
v0.12.5
6060
</span>
6161
</div>
6262
</Col>
@@ -121,7 +121,7 @@ exports[`domain/footer/Footer renders correctly 1`] = `
121121
<span
122122
className="app-varaamo-version"
123123
>
124-
v0.12.4
124+
v0.12.5
125125
</span>
126126
</div>
127127
</Col>

0 commit comments

Comments
 (0)