Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard behind firewall #308

Closed
SebastianStehle opened this issue Jul 14, 2021 · 2 comments · Fixed by #309
Closed

Dashboard behind firewall #308

SebastianStehle opened this issue Jul 14, 2021 · 2 comments · Fixed by #309

Comments

@SebastianStehle
Copy link
Contributor

Hi,

I am using Orleans Dashboard for Squidex, a headless CMS, and I have a request from a user, who runs Squidex in a corporate environment with strict firewalls. I have seen it before, that CDNs are often blocked.

If I would provide a PR to host the files locally, how would you prefer it?

  1. Just integrate the files as resources into the assembly and load from there?
  2. Option 1, but which a option to turn it on or off?
  3. Integrate the files into a separate assembly, so that you do not have the extra 5 MB in your app, if you don't need it?
@richorama
Copy link
Member

Hey Sebastian!

Option 3 is my preference. If we could have a separate nuget package for the offline resources if needed it would be the best of both worlds. Happy to help out on this if needed.

@SebastianStehle
Copy link
Contributor Author

I think it is relatively straight forward. I am going to introduce an interface for that to call in the middleware. The default implementation is just going to do a redirect to a CDN then and then another implementation which loads the resources from embedded resources.

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 a pull request may close this issue.

2 participants