Greatly improved server code base
This commit is contained in:
@ -4,12 +4,11 @@ import path from 'path'
|
||||
import sharp from 'sharp'
|
||||
import { Server } from 'socket.io'
|
||||
|
||||
import { BaseCommand } from '#application/base/baseCommand'
|
||||
import { commandLogger } from '#application/logger'
|
||||
import { getPublicPath } from '#application/storage'
|
||||
|
||||
export default class TilesCommand {
|
||||
constructor(private readonly io: Server) {}
|
||||
|
||||
export default class TilesCommand extends BaseCommand {
|
||||
public async execute(): Promise<void> {
|
||||
// Get all tiles
|
||||
const tilesDir = getPublicPath('tiles')
|
||||
|
Reference in New Issue
Block a user