diff --git a/docs/user/site.rst b/docs/user/site.rst
index 28297e38e7bd111be74355954906ed08bb8413d1..79e7ca1e53161f3c675608285be6fb2f62225b41 100644
--- a/docs/user/site.rst
+++ b/docs/user/site.rst
@@ -471,7 +471,7 @@ config_mode \: optional
 
   *openlayers_url* allows to override the base URL of the
   *build/ol.js* and *css/ol.css* files (the default is
-  ``https://cdn.rawgit.com/openlayers/openlayers.github.io/master/en/v5.2.0``).
+  ``https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@35ffe7626ce16c372143f3c903950750075e7068/en/v5.3.0``).
   It is also possible to replace the default tile layer (which is OpenStreetMap)
   with a custom one using the *tile_layer* section. Only XYZ layers are supported
   at this point.
diff --git a/package/gluon-web-osm/luasrc/usr/lib/lua/gluon/web/model/osm.lua b/package/gluon-web-osm/luasrc/usr/lib/lua/gluon/web/model/osm.lua
index ec18a003d6196e9a9410fccdb92f1c2787725794..294caddff77b4427b0d9b5912ae4ce5a57777115 100644
--- a/package/gluon-web-osm/luasrc/usr/lib/lua/gluon/web/model/osm.lua
+++ b/package/gluon-web-osm/luasrc/usr/lib/lua/gluon/web/model/osm.lua
@@ -4,7 +4,8 @@ local util = require "gluon.web.util"
 local class = util.class
 
 
-local DEFAULT_URL = 'https://cdn.rawgit.com/openlayers/openlayers.github.io/master/en/v5.2.0'
+local DEFAULT_URL =
+	'https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@35ffe7626ce16c372143f3c903950750075e7068/en/v5.3.0'
 
 
 local M = {}