mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-21 19:53:50 +01:00
[backend] Remove check:connect script and js file
This commit is contained in:
parent
bb5d0e319d
commit
b53b7a8654
@ -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",
|
||||
"revertmigration": "typeorm migration:revert -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:debug": "swc src -d built -s -D",
|
||||
"watch": "swc src -d built -D -w",
|
||||
|
Loading…
Reference in New Issue
Block a user