init studio auth backend

This commit is contained in:
2026-07-01 17:36:34 +09:00
commit 87f6f46d3c
35 changed files with 2492 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import { RedisClient } from 'bun'
import { config } from './config'
export const redis = new RedisClient(config.redisUrl, {
autoReconnect: true,
enableOfflineQueue: true
})
export async function closeRedis(): Promise<void> {
redis.close()
}