Skip to content

Commit edcfe3c

Browse files
committed
chore: fix Proxy type errors
1 parent 596257c commit edcfe3c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/service/routes/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import users from './users';
77
import healthcheck from './healthcheck';
88
import config from './config';
99
import { jwtAuthHandler } from '../passport/jwtAuthHandler';
10-
import Proxy from '../../proxy';
10+
import { Proxy } from '../../proxy';
1111

1212
const routes = (proxy: Proxy) => {
1313
const router = express.Router();

src/service/routes/repo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { getProxyURL } from '../urls';
55
import { getAllProxiedHosts } from '../../db';
66
import { RepoQuery } from '../../db/types';
77
import { isAdminUser } from './utils';
8-
import Proxy from '../../proxy';
8+
import { Proxy } from '../../proxy';
99

1010
// create a reference to the proxy service as arrow functions will lose track of the `proxy` parameter
1111
// used to restart the proxy when a new host is added

0 commit comments

Comments
 (0)