mirror of
https://github.com/kataras/iris.git
synced 2025-03-14 02:56:26 +01:00
README: add two links for the chinese documents, based on #2043
This commit is contained in:
parent
605b6e44f0
commit
bb3d5f21d6
|
@ -1,6 +1,4 @@
|
|||
<!-- # History/Changelog <a href="HISTORY_ZH.md"> <img width="20px" src="https://iris-go.com/images/flag-china.svg?v=10" /></a><a href="HISTORY_ID.md"> <img width="20px" src="https://iris-go.com/images/flag-indonesia.svg?v=10" /></a><a href="HISTORY_GR.md"> <img width="20px" src="https://iris-go.com/images/flag-greece.svg?v=10" /></a> -->
|
||||
|
||||
# Changelog
|
||||
# Changelog <a href="HISTORY_ES.md"><img width="20px" src="https://iris-go.com/images/flag-spain.png" /></a>
|
||||
|
||||
### Looking for free and real-time support?
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div dir="rtl">
|
||||
|
||||
|
||||
## خبرها
|
||||
|
||||
> این شاخه تحت توسعه است. برای رفتن به شاخه نسخه بعدی [v12.2.0](HISTORY.md#Next) یا اگر به دنبال یک انتشار پایدار هستید, به جای آن به شاخه [v12.1.8 branch](https://github.com/kataras/iris/tree/v12.1.8) مراجعه کنید.
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
> با توجه به بالا بودن حجم کار، ممکن است در پاسخ به [سوالات](https://github.com/kataras/iris/issues) شما تاخیری وجود داشته باشد.
|
||||
|
||||
# چارچوب وب آیریس
|
||||
# Iris Web Framework
|
||||
|
||||
[](https://github.com/kataras/iris/actions/workflows/ci.yml) [](https://app.fossa.io/projects/git%2Bgithub.com%2Fkataras%2Firis?ref=badge_shield)<!--[](https://goreportcard.com/report/github.com/kataras/iris)--><!--[](https://pkg.go.dev/github.com/kataras/iris/v12@v12.2.0)--> [](https://github.com/kataras/iris/tree/master/_examples) [](https://gitter.im/iris_go/community)<!--[](https://iris-go.com/donate)--><!-- [](https://github.com/kataras/iris/releases) -->
|
||||
|
||||
|
|
5
README_ZH.md
Normal file
5
README_ZH.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Iris Web Framework <a href="README_GR.md"><img width="20px" src="https://iris-go.com/images/flag-greece.svg" /></a> <a href="README_FR.md"><img width="20px" src="https://iris-go.com/images/flag-france.svg" /> <a href="README_ES.md"><img width="20px" src="https://iris-go.com/images/flag-spain.png" /></a> <a href="README_FA.md"><img width="20px" src="https://iris-go.com/images/flag-iran.svg" /></a> <a href="README_RU.md"><img width="20px" src="https://iris-go.com/images/flag-russia.svg" /></a> <a href="README_KO.md"><img width="20px" src="https://iris-go.com/images/flag-south-korea.svg?v=12" /></a> <a href="README_PT_BR.md"><img width="20px" height="20px" src="https://iris-go.com/images/flag-brazil.svg" /></a>
|
||||
|
||||
<img width="16px" src="https://iris-go.com/images/flag-chinese-zht.png" /> [Traditional Chinese (zht / zh-Hant)](README_ZH_HANT.md)
|
||||
|
||||
<img width="16px" src="https://iris-go.com/images/flag-chinese-zhs.png" /> [Simplified Chinese (zhs / zh-Hans)](README_ZH_HANS.md)
|
|
@ -1,4 +1,4 @@
|
|||
# Table of Contents
|
||||
# Table of Contents <a href="./README_ZH_HANT.md"> <img width="20px" src="https://iris-go.com/images/flag-china.svg?v=10" /> </a>
|
||||
|
||||
* [Serverless](https://github.com/iris-contrib/gateway#netlify)
|
||||
* [REST API for Apache Kafka](kafka-api)
|
||||
|
|
|
@ -584,7 +584,7 @@ func TypeByExtension(ext string) (typ string) {
|
|||
}
|
||||
|
||||
// mime.TypeByExtension returns as text/plain; | charset=utf-8 the static .js (not always)
|
||||
if ext == ".js" && (typ == context.ContentJavascriptHeaderValue || typ == context.ContentTextHeaderValue) {
|
||||
if ext == ".js" || ext == ".mjs" && (typ == context.ContentJavascriptHeaderValue || typ == context.ContentTextHeaderValue) {
|
||||
typ = context.ContentJavascriptHeaderValue
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user