mirror of
https://github.com/HelloZeroNet/ZeroNet.git
synced 2023-12-14 04:33:03 +01:00
Add language to UI js as paramter to avoid cache
This commit is contained in:
parent
9ff2bfc4bb
commit
b25bf97cad
2 changed files with 2 additions and 1 deletions
|
@ -286,6 +286,7 @@ class UiRequest(object):
|
|||
show_loadingscreen=json.dumps(not site.storage.isFile(file_inner_path)),
|
||||
sandbox_permissions=sandbox_permissions,
|
||||
rev=config.rev,
|
||||
lang=config.language,
|
||||
homepage=homepage
|
||||
)
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ server_url = '{server_url}'
|
|||
if (typeof WebSocket === "undefined")
|
||||
document.body.innerHTML += "<div class='unsupported'>Your browser is not supported please use <a href='http://outdatedbrowser.com'>Chrome or Firefox</a>.</div>";
|
||||
</script>
|
||||
<script type="text/javascript" src="/uimedia/all.js?rev={rev}"></script>
|
||||
<script type="text/javascript" src="/uimedia/all.js?rev={rev}&lang={lang}"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue