luigi
luigi copied to clipboard
Disable Google fonts download for offline use
While trying out luigi in an offline environment, I noticed the interface takes a verrry long time to load.
This is because it is trying to access fonts.googleapis.com.
Eventually it loads after it fails to connect. However, is there a way to configure the luigi interface to tell it we are offline?
I noticed I get the following 404 errors. I assume they are trying to phone home?
404 GET /static/visualiser/lib/jquery-1.10.0.min.map (127.0.0.1) 0.83ms
404 GET /static/visualiser/lib/d3/dagre-d3.min.map (127.0.0.1) 0.86ms
404 GET /static/visualiser/lib/bootstrap-toggle/js/bootstrap-toggle.min.js.map (127.0.0.1) 0.89ms
I tracked this down to the AdminLTE library. It imports the google fonts in AdminLTE.min.css
https://github.com/ColorlibHQ/AdminLTE/issues/1421
I just went ahead and blocked fonts.googleapi.com on my system, which fixes the slow down for me.