Skip to content

Commit

Permalink
progress: the app loads, but there are no messages
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellacosse committed Nov 15, 2023
1 parent e157315 commit e88e396
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/server_manager/electron_app/digitalocean_oauth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@

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},
{clientId: '4af51205e8d0d8f4a5b84a6b5ca9ea7124f914a5621b6a731ce433c2c7db533b', port: 60434},
{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
Expand Down
2 changes: 1 addition & 1 deletion src/server_manager/electron_app/gcp_oauth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
4 changes: 3 additions & 1 deletion src/server_manager/electron_app/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"target": "es2021",
"removeComments": false,
"noImplicitAny": true,
// "noImplicitAny": true,
"esModuleInterop": true,
"module": "commonjs",
"rootDir": "..",
"lib": ["dom", "es2021"]
Expand Down
2 changes: 1 addition & 1 deletion src/server_manager/web_app/management_urls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"target": "es2015",
"removeComments": false,
"noImplicitAny": true,
// "noImplicitAny": true,
"noImplicitThis": true,
"moduleResolution": "Node",
"sourceMap": true,
Expand Down

0 comments on commit e88e396

Please sign in to comment.