mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-08-27 03:42:01 +00:00
progress: the app loads, but there are no messages
This commit is contained in:
parent
e157315aa0
commit
e88e396676
5 changed files with 11 additions and 7 deletions
|
|
@ -14,10 +14,10 @@
|
|||
|
||||
import * as crypto from 'crypto';
|
||||
import * as electron from 'electron';
|
||||
import * as express from 'express';
|
||||
import express from 'express';
|
||||
import * as http from 'http';
|
||||
import {AddressInfo} from 'net';
|
||||
import * as request from 'request';
|
||||
import request from 'request';
|
||||
|
||||
const REGISTERED_REDIRECTS: Array<{clientId: string; port: number}> = [
|
||||
{clientId: '7f84935771d49c2331e1cfb60c7827e20eaf128103435d82ad20b3c53253b721', port: 55189},
|
||||
|
|
@ -25,7 +25,7 @@ const REGISTERED_REDIRECTS: Array<{clientId: string; port: number}> = [
|
|||
{clientId: '706928a1c91cbd646c4e0d744c8cbdfbf555a944b821ac7812a7314a4649683a', port: 61437},
|
||||
];
|
||||
|
||||
const CALLBACK_SERVER_CLOSE_TIMEOUT = 30000; // 30 seconds
|
||||
const CALLBACK_SERVER_CLOSE_TIMEOUT = 30000; // 30 seconds
|
||||
|
||||
function randomValueHex(len: number): string {
|
||||
return crypto
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
// limitations under the License.
|
||||
|
||||
import * as electron from 'electron';
|
||||
import * as express from 'express';
|
||||
import express from 'express';
|
||||
import {OAuth2Client} from 'google-auth-library';
|
||||
import {AddressInfo} from 'net';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"target": "es2021",
|
||||
"removeComments": false,
|
||||
"noImplicitAny": true,
|
||||
// "noImplicitAny": true,
|
||||
"esModuleInterop": true,
|
||||
"module": "commonjs",
|
||||
"rootDir": "..",
|
||||
"lib": ["dom", "es2021"]
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
import * as jsonic from 'jsonic';
|
||||
import jsonic from 'jsonic';
|
||||
|
||||
import {ManualServerConfig} from '../model/server';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"esModuleInterop": true,
|
||||
"target": "es2015",
|
||||
"removeComments": false,
|
||||
"noImplicitAny": true,
|
||||
// "noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"moduleResolution": "Node",
|
||||
"sourceMap": true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue