\r\n \u003C/head>\r\n \u003Cbody>\r\n \u003Cp>Hello, world!\u003C/p>\r\n \u003C/body>\r\n\u003C/html>\r\n```\r\n\r\nThen run `npx vitepress dev`, open http://localhost:5173/, and click on the green \"foo\" button that appears. VitePress gives a 404 error page. Reload the page, and the correct HTML page should appear with the contents \"Hello, world!\"\r\n\r\nGo back to http://localhost:5173/, and this time open the green \"foo\" button's link in a new tab. Observe that the page is loaded correctly with no 404.\r\n\r\n### Expected behavior\r\n\r\nVitePress should load the page correctly when clicking the link to open it in the current tab.\r\n\r\n### System Info\r\n\r\n```\r\nSystem:\r\n OS: macOS 12.6.1\r\n CPU: (8) arm64 Apple M1\r\n Memory: 277.38 MB / 16.00 GB\r\n Shell: 5.8.1 - /bin/zsh\r\n Binaries:\r\n Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node\r\n Yarn: 1.22.19 - ~/.yarn/bin/yarn\r\n npm: 8.5.0 - ~/.nvm/versions/node/v16.14.2/bin/npm\r\n Browsers:\r\n Chrome: 108.0.5359.98\r\n Firefox: 90.0\r\n Safari: 16.1\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.30 => 1.0.0-alpha.30\r\n```\r\n\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Validations\r\n\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\r\n- [X] Read the [docs](https://vitepress.vuejs.org).\r\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[],1685,"404 error when clicking link to public","2023-01-21T14:17:08Z","https://github.com/vuejs/vitepress/issues/1685",0.7018651,{"description":2953,"labels":2954,"number":2956,"owner":2866,"repository":2867,"state":2868,"title":2957,"updated_at":2958,"url":2959,"score":2960},"### Describe the bug\n\nWhen `/docs/index.md` is missing while `/public/index.html` is present (with all the default configs) and navigating to site root, 404 error is thrown.\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vite-vqzpel?file=docs%2Fpublic%2Findex.html \n\n### Expected behavior\n\n`/public/index.html` static html should be served instead instead of 404 (VuePress worked this way). Alternatively, there should be a way to configure custom static HTML home page w/o the need to use server-side config (as it's not always possible, eg on github pages).\n\n### System Info\n\n```sh\nSystem:\r\n OS: Windows 10 10.0.19044\r\n CPU: (16) x64 Intel(R) Core(TM) i7-6900K CPU @ 3.20GHz\r\n Memory: 45.66 GB / 63.92 GB\r\n Binaries:\r\n Node: 18.2.0 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.5 - C:\\Program Files (x86)\\Yarn\\bin\\yarn.CMD\r\n npm: 9.6.6 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Chrome: 113.0.5672.127\r\n Edge: Spartan (44.19041.1266.0), Chromium (113.0.1774.50)\r\n npmPackages:\r\n vitepress: ^1.0.0-beta.1 => 1.0.0-beta.1\r\n```\n```\n\n\n### Additional context\n\nRelated discussion thread: https://github.com/vuejs/vitepress/discussions/2425\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2955],{"name":2899,"color":2900},2426,"/public/index.html is not served when /docs/index.md is missing","2023-06-04T00:04:30Z","https://github.com/vuejs/vitepress/issues/2426",0.70316094,["Reactive",2962],{},["Set"],["ShallowReactive",2965],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fugpFtVxR_diku-zzpKaQd0VUwIMgfRGCf21opQcVmxA":-1},"/vuejs/vitepress/4208"]