From 8d77af4a575f9204dedd035beccbffb436db8d3d Mon Sep 17 00:00:00 2001 From: Siddharth VP Date: Sun, 24 Mar 2024 17:20:18 +0530 Subject: [PATCH] webservice: fix import paths --- webservice/routes/dyk.ts | 2 +- webservice/tunnels.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/webservice/routes/dyk.ts b/webservice/routes/dyk.ts index 3954315..8625360 100644 --- a/webservice/routes/dyk.ts +++ b/webservice/routes/dyk.ts @@ -1,6 +1,6 @@ import * as express from "express"; import { enwikidb } from "../../../SDZeroBot/db"; -import {getRedisInstance} from "../../redis"; +import { getRedisInstance } from "../../../SDZeroBot/redis"; const router = express.Router(); const db = new enwikidb(); diff --git a/webservice/tunnels.ts b/webservice/tunnels.ts index be0fb9a..f206074 100644 --- a/webservice/tunnels.ts +++ b/webservice/tunnels.ts @@ -1,6 +1,6 @@ -import {closeTunnels, createLocalSSHTunnel} from "../utils"; -import {ENWIKI_DB_HOST, TOOLS_DB_HOST} from "../db"; -import {REDIS_HOST} from "../redis"; +import {closeTunnels, createLocalSSHTunnel} from "../../SDZeroBot/utils"; +import {ENWIKI_DB_HOST, TOOLS_DB_HOST} from "../../SDZeroBot/db"; +import {REDIS_HOST} from "../../SDZeroBot/redis"; createLocalSSHTunnel(ENWIKI_DB_HOST); createLocalSSHTunnel(TOOLS_DB_HOST);