mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-01-23 02:35:34 +00:00
chore: migrated settings to esm6 (#7062)
* chore: migrated settings to esm6 * chore: fixed frontends * chore: fixed missing usage of specialpages * chore: fixed last errors for settings * chore: fixed favicon test
This commit is contained in:
parent
920308a627
commit
8588d99f12
57 changed files with 698 additions and 562 deletions
|
|
@ -18,7 +18,7 @@ import process from "node:process";
|
|||
|
||||
|
||||
process.on('unhandledRejection', (err) => { throw err; });
|
||||
const settings = require('ep_etherpad-lite/node/utils/Settings');
|
||||
import settings from 'ep_etherpad-lite/node/utils/Settings';
|
||||
(async () => {
|
||||
axios.defaults.baseURL = `http://${settings.ip}:${settings.port}`;
|
||||
const api = axios;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue