fix: ensure apidoc uses utf-8 text
This commit is contained in:
@@ -13,7 +13,8 @@ server {
|
||||
|
||||
# Markdown 接口说明,直接返回文本内容
|
||||
location = /apidoc {
|
||||
default_type text/markdown;
|
||||
types { }
|
||||
default_type text/plain;
|
||||
charset utf-8;
|
||||
try_files /apidoc =404;
|
||||
add_header Cache-Control "no-store";
|
||||
|
||||
Reference in New Issue
Block a user