diff --git a/lms/templates/main.html b/lms/templates/main.html
index 60658111c8..c689ad4e02 100644
--- a/lms/templates/main.html
+++ b/lms/templates/main.html
@@ -36,6 +36,7 @@
if (window.location !== window.top.location) {
window.top.location = window.location;
}
+ window.baseUrl = "${settings.STATIC_URL}";
})(this);
% endif