[backend] Remove check:connect script and js file

This commit is contained in:
Laura Hausmann 2023-10-13 18:46:16 +02:00
parent bb5d0e319d
commit b53b7a8654
No known key found for this signature in database
GPG Key ID: D044E84C5BE01605
2 changed files with 0 additions and 11 deletions

View File

@ -1,10 +0,0 @@
import { loadConfig } from "./built/config.js";
import { createRedisConnection } from "./built/redis.js";
const config = loadConfig();
const redis = createRedisConnection(config);
redis.on("connect", () => redis.disconnect());
redis.on("error", (e) => {
throw e;
});

View File

@ -9,7 +9,6 @@
"migrate": "typeorm migration:run -d built/ormconfig.js", "migrate": "typeorm migration:run -d built/ormconfig.js",
"revertmigration": "typeorm migration:revert -d built/ormconfig.js", "revertmigration": "typeorm migration:revert -d built/ormconfig.js",
"generatemigration": "yarn build && typeorm migration:generate -d built/ormconfig.js", "generatemigration": "yarn build && typeorm migration:generate -d built/ormconfig.js",
"check:connect": "node ./check_connect.js",
"build": "swc src -d built -D", "build": "swc src -d built -D",
"build:debug": "swc src -d built -s -D", "build:debug": "swc src -d built -s -D",
"watch": "swc src -d built -D -w", "watch": "swc src -d built -D -w",