{"id":18013725,"url":"https://github.com/ide/next-error-headers","last_synced_at":"2025-04-04T14:24:38.751Z","repository":{"id":66103956,"uuid":"458633587","full_name":"ide/next-error-headers","owner":"ide","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-12T23:05:46.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-10T00:16:26.805Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ide.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-12T20:37:05.000Z","updated_at":"2022-02-12T22:59:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"b68f6d88-b9aa-4f32-872b-6b918e114716","html_url":"https://github.com/ide/next-error-headers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ide%2Fnext-error-headers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ide%2Fnext-error-headers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ide%2Fnext-error-headers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ide%2Fnext-error-headers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ide","download_url":"https://codeload.github.com/ide/next-error-headers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247191882,"owners_count":20899001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-30T03:22:50.076Z","updated_at":"2025-04-04T14:24:38.735Z","avatar_url":"https://github.com/ide.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# next-error-headers\n\nDemo showing that Next.js serves custom headers even for error pages (e.g. 404s).\n\n```\nyarn\nyarn next build\nyarn next start\n\n# Expect custom headers to be set\ncurl -s -D - -o /dev/null http://localhost:3000/static/nyan.png\n\n# Custom headers are still set even though a 404 page is served\ncurl -s -D - -o /dev/null http://localhost:3000/static/missing\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fide%2Fnext-error-headers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fide%2Fnext-error-headers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fide%2Fnext-error-headers/lists"}