-
-
Notifications
You must be signed in to change notification settings - Fork 191
Gotchas, Tips, and Tricks
Edward Silverton edited this page Nov 6, 2021
·
13 revisions
https://gist.github.com/stephenwf/3b177abdbcc42dc8b5e85cb1f137aa45
If you're getting an error saying Cannot read properties of undefined (reading 'substr')
at normaliseUrl
, it could be that your info.jsons aren't available over the network.
Use this Gem to add the UV to your Rails project: https://github.com/pulibrary/pul_uv_rails
For cache invalidation outside of the Rail's asset pipeline, you can symlink a checksum of the UV source. https://github.com/sul-dlss/sul-embed/pull/860