diff --git a/server.js b/server.js index 69e0db0..19dda0f 100644 --- a/server.js +++ b/server.js @@ -898,6 +898,8 @@ function get_channels(){ }) } +import { web_version } from "unsafe_encrypt"; + let global_page_variables = { globalcss: load_var("./css/global.css"), httppostjs: load_var("./js/httppost.js"), @@ -909,7 +911,8 @@ let global_page_variables = { getChannels: get_channels, getPID: get_pid, getDMPID: get_dmpid, - cookiebanner: `` + encryptJS: min_js(web_version().toString()).code, + cookiebanner: `` } function handleUserFiles(request, response, overrideurl) { diff --git a/views/dms.html b/views/dms.html index 6480e49..5fecbdc 100644 --- a/views/dms.html +++ b/views/dms.html @@ -5,18 +5,17 @@