mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-22 22:06:43 +00:00
Update readme
This commit is contained in:
parent
9602db34fa
commit
e52ea0ba69
@ -494,7 +494,7 @@ rails g rswag:ui:custom
|
||||
|
||||
This will add a local version that you can modify at _app/views/rswag/ui/home/index.html.erb_
|
||||
|
||||
### Publish UI Assets with "assets:precompile:
|
||||
### Serve UI Assets Directly from your Web Server
|
||||
|
||||
Rswag ships with an embedded version of the [swagger-ui](https://github.com/swagger-api/swagger-ui), which is a static collection of JavaScript and CSS files. These assets are served by the rswag-ui middleware. However, for optimal performance you may want to serve them directly from your web server (e.g. Apache or NGINX). To do this, you'll need to copy them to the web server root. This is the "public" folder in a typical Rails application.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user