amorimjj / redoc-try-it-out

Add Try It Out option on Redoc
MIT License
29 stars 10 forks source link

Is offline deployment not supported? #6

Open yancey92 opened 6 months ago

jarlah commented 5 months ago

this is a maintained version https://github.com/CommunityExtensions/redoc-try-it-out

but I dont understand what offline deployment means

yancey92 commented 5 months ago

this is a maintained version https://github.com/CommunityExtensions/redoc-try-it-out

but I dont understand what offline deployment means

What I mean is, without a public network environment, deploying in a private network

jarlah commented 5 months ago

Ah you mean that it tries to download alot dependencies. Maybe i can fix that. Maybe what we could do is add an option to say if dependencies should be resolved relative to web server or absolute from http urls? Do i understand it correctly?

jarlah commented 5 months ago

Whatever we decide to do however it will not be done here in this repo

jarlah commented 5 months ago

@yancey92 see https://github.com/CommunityExtensions/redoc-try-it-out/pull/11 can you maybe download that branch and test ? See dist/index.html for how to specify cdnUrl. Empty/blank cdnUrl means relative to web server