mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1240] 使用0.27.0版本的自定义404页面,404页面会按照txt解析出来,而不是html #977
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#977
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ooiuv on GitHub (May 9, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1240
使用0.27.0版本的自定义404页面,404页面会按照txt解析出来,而不是html
就是把原本html页面的内容,完整的以文本格式展示出来了。
@ooiuv commented on GitHub (May 9, 2019):
对比了自带404页面,发现html的head元素里面,没有加下面配置,所以造成以text打开!
@ooiuv commented on GitHub (Dec 27, 2019):
指定当前的页面是html 浏览器就会按照html的格式去解析
李寻欢 notifications@github.com 于2019年7月13日周六 上午9:28写道:
@qqq1162934083 commented on GitHub (Feb 22, 2020):
没有加下面配置,到底是什么配置能方便说一下啊
@ooiuv commented on GitHub (Apr 19, 2020):
就是字head里面声明html类型
qqq1162934083 notifications@github.com 于2020年2月22日周六 下午1:15写道:
@adi291 commented on GitHub (Oct 20, 2020):
同一个问题另一个原因。html是正确的,如果用notepad++这类编辑器,文件不能用utf-8 BOM 编码,必须用 utf-8 编码。