mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Fixed frontend.
This commit is contained in:
parent
6060abdd26
commit
20a4eb0f8f
5 changed files with 5 additions and 3 deletions
|
@ -110,4 +110,5 @@ export type SettingsObj = {
|
||||||
importMaxFileSize: number;
|
importMaxFileSize: number;
|
||||||
enableAdminUITests: boolean;
|
enableAdminUITests: boolean;
|
||||||
lowerCasePadIds: boolean;
|
lowerCasePadIds: boolean;
|
||||||
|
randomVersionString: string;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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')
|
||||||
;
|
;
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue