Skip to content

Commit

Permalink
chore: don't send headers to overlays through the getSettings command
Browse files Browse the repository at this point in the history
  • Loading branch information
KapiWilq committed Dec 9, 2024
1 parent e0a9c80 commit fd626cc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/server/utils/parseSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,12 @@ export function parseCounterSettings(
break;
}

// headers are meant to be in the settings page only
case 'header': {
delete values[setting.uniqueID];
break;
}

default: {
values[setting.uniqueID] = value;
break;
Expand Down

0 comments on commit fd626cc

Please sign in to comment.