Skip to content

feat: Add support to specify the full url#14

Open
sezaru wants to merge 1 commit intowingyplus:mainfrom
Hexhound:main
Open

feat: Add support to specify the full url#14
sezaru wants to merge 1 commit intowingyplus:mainfrom
Hexhound:main

Conversation

@sezaru
Copy link

@sezaru sezaru commented Dec 30, 2025

This PR adds the option to set a totally different url for the redoc standalone bundle.

Basically this is to allow use cases like mine where I use a forked version of redoc and compile the bundle myself, I then place the bundle inside Phoenix itself and load it like this in the plug:

      forward "/redoc", Redoc.Plug.RedocUI,
        redoc_url: "/redoc/redoc.standalone.js"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant