mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Merge pull request #2051 from YunoHost/extend
Add withcredentials to swagger
This commit is contained in:
commit
ec27a6ed39
2 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,7 @@ If your app is a PHP or HTML/JS app, you probably should use the `Custom Webapp`
|
||||||
|
|
||||||
If you use an other techno, you should install it like on a classical debian.
|
If you use an other techno, you should install it like on a classical debian.
|
||||||
|
|
||||||
|
|
||||||
To expose the app on the web through nginx and be able to manage access permissions to the webapp, you could use the [`redirect` app](https://github.com/YunoHost-Apps/redirect_ynh/) to create a nginx reverse proxy on your local ip/port running the service.
|
To expose the app on the web through nginx and be able to manage access permissions to the webapp, you could use the [`redirect` app](https://github.com/YunoHost-Apps/redirect_ynh/) to create a nginx reverse proxy on your local ip/port running the service.
|
||||||
|
|
||||||
!!! You should use the proxy mode of the redirect app and not HTTP redirections mode.
|
!!! You should use the proxy mode of the redirect app and not HTTP redirections mode.
|
||||||
|
|
|
@ -56,6 +56,7 @@ curl -k -i -H "Accept: application/json" \
|
||||||
SwaggerUIBundle.presets.apis,
|
SwaggerUIBundle.presets.apis,
|
||||||
SwaggerUIStandalonePreset
|
SwaggerUIStandalonePreset
|
||||||
],
|
],
|
||||||
|
withCredentials: true,
|
||||||
layout: "StandaloneLayout"
|
layout: "StandaloneLayout"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue