Skip to content

Commit

Permalink
fix: Check for truthy for tagularCookieDomain before adding leading p…
Browse files Browse the repository at this point in the history
…eriod
  • Loading branch information
julianajlk committed Dec 20, 2024
1 parent 3874259 commit 6956652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
optIn: true,
},
required: true,
domain: '<%= "." + (htmlWebpackPlugin?.options?.cohesionConfig?.tagularCookieDomain || "") %>',
domain: '<%= htmlWebpackPlugin?.options?.cohesionConfig?.tagularCookieDomain ? "." + htmlWebpackPlugin?.options?.cohesionConfig?.tagularCookieDomain : ".edx.org" %>',
},
})
</script>
Expand Down

0 comments on commit 6956652

Please sign in to comment.