diff --git a/nextjs/packages/next/next-server/server/send-payload.ts b/nextjs/packages/next/next-server/server/send-payload.ts index 400e4c210f..c7bb99faa0 100644 --- a/nextjs/packages/next/next-server/server/send-payload.ts +++ b/nextjs/packages/next/next-server/server/send-payload.ts @@ -51,7 +51,7 @@ export function sendPayload( } if (poweredByHeader && type === 'html') { - res.setHeader('X-Powered-By', 'Next.js') + res.setHeader('X-Powered-By', 'Blitz.js') } const etag = generateEtags ? generateETag(payload) : undefined diff --git a/nextjs/test/integration/config/test/index.test.js b/nextjs/test/integration/config/test/index.test.js index 4aa8ee9e9d..ea8c48683a 100644 --- a/nextjs/test/integration/config/test/index.test.js +++ b/nextjs/test/integration/config/test/index.test.js @@ -61,7 +61,7 @@ describe('Configuration', () => { it('should disable X-Powered-By header support', async () => { const url = `http://localhost:${context.appPort}/` const header = (await fetch(url)).headers.get('X-Powered-By') - expect(header).not.toBe('Next.js') + expect(header).not.toBe('Blitz.js') }) test('renders css imports', async () => { diff --git a/nextjs/test/integration/production/test/index.test.js b/nextjs/test/integration/production/test/index.test.js index 20bd919c4c..6d900f819b 100644 --- a/nextjs/test/integration/production/test/index.test.js +++ b/nextjs/test/integration/production/test/index.test.js @@ -179,7 +179,7 @@ describe('Production Usage', () => { const url = `http://localhost:${appPort}/` const header = (await fetch(url)).headers.get('X-Powered-By') - expect(header).toBe('Next.js') + expect(header).toBe('Blitz.js') }) it('should render 404 for routes that do not exist', async () => {