server.headers

  • Type: Record<string, string>
  • Default: undefined

Adds headers to all responses.

export default {
  server: {
    headers: {
      'X-Custom-Foo': 'bar',
    },
  },
};