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

Switch to static files instead of CDNs #550

Merged
merged 2 commits into from
Jun 17, 2024
Merged

Switch to static files instead of CDNs #550

merged 2 commits into from
Jun 17, 2024

Conversation

loneil
Copy link
Contributor

@loneil loneil commented Jun 14, 2024

As there is a known certificate authority problem on BCNGN with non-govt devices, loading CDNs get blocked. See #547

For the HTML templates provide the css and js assets from the app as minified static files instead.

Remove the old "add asset" custom code for images as well.

Note for the proof request explorer I left in CDN references as some fuller changes are coming down the pipe to that page/app.

@loneil loneil requested review from esune and Gavinok June 14, 2024 22:12
Copy link
Member

@esune esune left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Despite being unfortunate that we aren't able to use the CDN, I don't mind the fact that this simplifies importing assets since they just need to be served/referenced from the static folder now

oidc-controller/api/routers/presentation_request.py Outdated Show resolved Hide resolved
loneil added 2 commits June 17, 2024 13:30
Signed-off-by: Lucas ONeil <lucasoneil@gmail.com>
Signed-off-by: Lucas ONeil <lucasoneil@gmail.com>
@loneil loneil force-pushed the bugfix/removeCdns branch from f37e7a3 to b04fb72 Compare June 17, 2024 20:30
@loneil loneil requested a review from esune June 17, 2024 20:30
@esune esune merged commit f9c8a3f into main Jun 17, 2024
5 checks passed
@esune esune deleted the bugfix/removeCdns branch June 17, 2024 21:27
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.

2 participants