Skip to content

Commit 553c0fa

Browse files
authored
Remove x-version HTTP header (#2228)
Part of OPS-4150.
1 parent 483b047 commit 553c0fa

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • packages/server/api/src/app

packages/server/api/src/app/app.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,6 @@ export const setupApp = async (
140140
}),
141141
});
142142

143-
app.addHook('onSend', async (_, reply) => {
144-
void reply.headers({ 'X-Version': system.get(SharedSystemProp.VERSION) });
145-
});
146-
147143
await app.register(rateLimitModule);
148144

149145
await app.register(cors, {

0 commit comments

Comments
 (0)