github-pages 200.html support

时间:2019-04-17 01:50:48

标签: github-pages

Does github pages support the 200.html file? The intended functionality is that it catches any requests for files that do not exist in the website and responds with its content and a HTTP 200 status. I couldn't find any doco on it.

I know they support 404.html

1 个答案:

答案 0 :(得分:1)

这似乎还不被支持,它是isaacs/github issue 408(对GitHub的非官方功能请求)的一部分进行了讨论。

使用400.html instead was a "hack" seen in 2016