Skip to content

Commit

Permalink
fix in config (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
sr-remsha authored Aug 7, 2024
1 parent f27ba79 commit d06b509
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,25 +81,25 @@ const config = {
],
],

scripts:
process.env.NODE_ENV === 'development'
? []
: [
{
src: 'https://cookie-cdn.cookiepro.com/consent/3a34bbfa-93e4-4ba6-9383-7da88d67ed18/OtAutoBlock.js',
type: 'text/javascript',
},
{
src: 'https://cookie-cdn.cookiepro.com/scripttemplates/otSDKStub.js',
type: 'text/javascript',
charset: 'UTF-8',
'data-domain-script': '3a34bbfa-93e4-4ba6-9383-7da88d67ed18',
},
{
src: 'src/scripts/optanonWrapper.js',
type: 'text/javascript',
},
],
// scripts:
// process.env.NODE_ENV === 'development'
// ? []
// : [
// {
// src: 'https://cookie-cdn.cookiepro.com/consent/3a34bbfa-93e4-4ba6-9383-7da88d67ed18/OtAutoBlock.js',
// type: 'text/javascript',
// },
// {
// src: 'https://cookie-cdn.cookiepro.com/scripttemplates/otSDKStub.js',
// type: 'text/javascript',
// charset: 'UTF-8',
// 'data-domain-script': '3a34bbfa-93e4-4ba6-9383-7da88d67ed18',
// },
// {
// src: 'src/scripts/optanonWrapper.js',
// type: 'text/javascript',
// },
// ],

themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
Expand Down

0 comments on commit d06b509

Please sign in to comment.