{"id":15155260,"url":"https://github.com/jpb06/next-repro-404-index.json","last_synced_at":"2026-02-13T02:02:57.170Z","repository":{"id":241787808,"uuid":"807648883","full_name":"jpb06/next-repro-404-index.json","owner":"jpb06","description":"Issue with full roundtrip when navigating to / while using base path and middlewares","archived":false,"fork":false,"pushed_at":"2024-05-29T15:24:20.000Z","size":17094,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-09T16:59:29.000Z","etag":null,"topics":["basepath","next-js","pages-router-nextjs","reproduction"],"latest_commit_sha":null,"homepage":"https://next-repro-404-index-json.vercel.app/app","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/jpb06.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":"2024-05-29T14:01:18.000Z","updated_at":"2024-05-29T15:24:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"fcbb293d-d4b1-468d-9181-9b10458a7d45","html_url":"https://github.com/jpb06/next-repro-404-index.json","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"b3315455464151413c6f751e421a6e3fb20b626a"},"previous_names":["jpb06/next-repro-404-index.json"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jpb06/next-repro-404-index.json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpb06%2Fnext-repro-404-index.json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpb06%2Fnext-repro-404-index.json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpb06%2Fnext-repro-404-index.json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpb06%2Fnext-repro-404-index.json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpb06","download_url":"https://codeload.github.com/jpb06/next-repro-404-index.json/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpb06%2Fnext-repro-404-index.json/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29392828,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T00:53:09.511Z","status":"online","status_checked_at":"2026-02-13T02:00:10.076Z","response_time":78,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["basepath","next-js","pages-router-nextjs","reproduction"],"created_at":"2024-09-26T18:03:56.415Z","updated_at":"2026-02-13T02:02:57.156Z","avatar_url":"https://github.com/jpb06.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nextjs repro - basePath + middleware + pages routes = full roundtrip\n\nHello.\n\nHere is a repro about an issue we are experiencing with pages router. Conditions are the following:\n\n- Using a basePath.\n- Using middleware.\n- Using pages router.\n- Index page using `getServerSideProps`.\n\n## Symptoms\n\n![oh no](./assets/oh-no.gif)\n\n- Client navigation from `/` -\u003e `/yolo` = OK.\n- Client navigation from `/yolo` -\u003e `/` = Full roundtrip. We appear to have a 404 on getting `index.json`, as shown in the recording, even though the file exists.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpb06%2Fnext-repro-404-index.json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpb06%2Fnext-repro-404-index.json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpb06%2Fnext-repro-404-index.json/lists"}