-
Notifications
You must be signed in to change notification settings - Fork 4
Disable CDN
tnier01 edited this page Feb 18, 2021
·
2 revisions
CDN is used to load external scripts so that you can define spatial- and temporal properties. It is recommended to have CDN enabled, otherwise if you not want to use CDN and want to disable it you need to download the following files and create these folders in the plugins main path:
"enable_cdn_Off/daterangepicker/"
:
- https://cdn.jsdelivr.net/momentjs/latest/moment.min.js
- https://cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.min.js
- https://cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.css
"enable_cdn_Off/leaflet/"
:
- Download all the files and folders of dist (https://www.jsdelivr.com/package/npm/leaflet?path=dist) into this path
"enable_cdn_Off/leaflet-draw/"
:
- Download all the files and folders of dist (https://www.jsdelivr.com/package/npm/leaflet?path=dist) into this path
"enable_cdn_Off/leaflet-control-geocoder/"
:
- Download all the files and folders (https://www.jsdelivr.com/package/npm/leaflet-control-geocoder) into this path
Then you can disable CDN in the geoOJS plug-in settings (OJS -> Settings -> Website -> Plugins -> Installed Plugins -> geoOJS -> blue arrow -> Settings), by checking the checkbox "Disable CDN". By default CDN is enabled.