-
Notifications
You must be signed in to change notification settings - Fork 2
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
[QOLDEV-614] use QGOV CDN for grid scripts #255
Conversation
Update Changelog
no good, please don't 'hack' the supplied @formio packages, these are replaced often. Please use the supplied hooks and add it to the loader system instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prmium.js and primum.min.js is imported and should not be altered. The latest formio now has ability to change cdn endpoints for all and per library.
de95405
to
defb91e
Compare
@@ -168,6 +168,7 @@ const defaultInitFormioAction = () => { | |||
const initFormio = () => { | |||
// Init form | |||
Formio.icons = "fontawesome"; | |||
Formio.cdn.setOverrideUrl('grid', 'https://static.qgov.net.au/formio-qld/v2/v2.x.x-latest/'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update docs to v2
b2379d9
to
4f16763
Compare
- Allow any base URL to be provided, not just a subdomain of qgov.net.au. This lets us reuse the default function for the Gitbridge script.
4f16763
to
864d9f1
Compare
Add CDN override to point 'grid' library at static.qgov.net.au