Added paths in typescript config and utilise this in all project files

This commit is contained in:
2024-12-24 23:48:37 +01:00
parent 72562f92f9
commit 058988e874
86 changed files with 304 additions and 295 deletions

View File

@ -6,7 +6,7 @@ import { createServer as httpServer, Server as HTTPServer } from 'http'
import { addHttpRoutes } from './http'
import cors from 'cors'
import { Server as SocketServer } from 'socket.io'
import { Authentication } from './middleware/authentication'
import { Authentication } from '#middleware/authentication'
import { TSocket } from '#utilities/types'
import { Database } from '#utilities/database'
import prisma from '#utilities/prisma' // @TODO: Remove this