scttcper / koa2-swagger-ui

Swagger UI as Koa v2 middleware

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IE Support.

sihunqu123 opened this issue ยท comments

By default, IE will open html generated by koa2-swagger-ui in a IE-5 mode, which will result in below Error:

SCRIPT5009: 'SwaggerUIBundle' is undefined

And this should be fixed by adding:

<meta http-equiv="X-UA-Compatible" content="IE=edge">

in lib/index.hbs

๐ŸŽ‰ This issue has been resolved in version 2.12.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€