mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 07:35:05 -04:00
Fixed bin scripts.
This commit is contained in:
parent
3ccc3e1324
commit
88862f0246
11 changed files with 22 additions and 6 deletions
|
@ -14,6 +14,7 @@ import path from "node:path";
|
|||
import querystring from "node:querystring";
|
||||
|
||||
import axios from 'axios'
|
||||
import process from "node:process";
|
||||
|
||||
|
||||
process.on('unhandledRejection', (err) => { throw err; });
|
||||
|
@ -53,4 +54,5 @@ const settings = require('ep_etherpad-lite/node/utils/Settings');
|
|||
if (res.data.code === 1) throw new Error(`Error creating session: ${JSON.stringify(res.data)}`);
|
||||
console.log('Session made: ====> create a cookie named sessionID and set the value to',
|
||||
res.data.data.sessionID);
|
||||
process.exit(0)
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue