Fixed frontend.

This commit is contained in:
SamTV12345 2024-02-21 23:07:46 +01:00
parent 6060abdd26
commit 20a4eb0f8f
5 changed files with 5 additions and 3 deletions

View file

@ -110,4 +110,5 @@ export type SettingsObj = {
importMaxFileSize: number; importMaxFileSize: number;
enableAdminUITests: boolean; enableAdminUITests: boolean;
lowerCasePadIds: boolean; lowerCasePadIds: boolean;
randomVersionString: string;
} }

View file

@ -403,6 +403,7 @@ export const settings: SettingsObj = {
* e.g. /p/EtHeRpAd to /p/etherpad * e.g. /p/EtHeRpAd to /p/etherpad
*/ */
lowerCasePadIds: false, lowerCasePadIds: false,
randomVersionString: randomString(4)
} }
/* Root path of the installation */ /* Root path of the installation */

View file

@ -1,5 +1,5 @@
<% <%
var settings = require("ep_etherpad-lite/node/utils/Settings"); var settings = require("ep_etherpad-lite/node/utils/Settings").settings
%> %>
<!doctype html> <!doctype html>
<html> <html>

View file

@ -1,5 +1,5 @@
<% <%
import {settings} from 'ep_etherpad-lite/node/utils/Settings'; var settings = require("ep_etherpad-lite/node/utils/Settings").settings
, langs = require("ep_etherpad-lite/node/hooks/i18n").availableLangs , langs = require("ep_etherpad-lite/node/hooks/i18n").availableLangs
, pluginUtils = require('ep_etherpad-lite/static/js/pluginfw/shared') , pluginUtils = require('ep_etherpad-lite/static/js/pluginfw/shared')
; ;

View file

@ -1,5 +1,5 @@
<% <%
var settings = require("ep_etherpad-lite/node/utils/Settings") var settings = require("ep_etherpad-lite/node/utils/Settings").settings
, langs = require("ep_etherpad-lite/node/hooks/i18n").availableLangs , langs = require("ep_etherpad-lite/node/hooks/i18n").availableLangs
%> %>
<!doctype html> <!doctype html>