mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-21 17:37:29 -07:00
[backend] Remove check:connect script and js file
This commit is contained in:
parent
bb5d0e319d
commit
b53b7a8654
2 changed files with 0 additions and 11 deletions
|
@ -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;
|
|
||||||
});
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue