refactor: restructure backend routes and server files for improved organization and maintainability
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
import { Router } from 'express';
|
||||
import multer from 'multer';
|
||||
|
||||
import OrphanagesController from './src/controllers/OrphanagesController';
|
||||
import UploadConfig from './src/config/upload';
|
||||
import OrphanagesController from './controllers/OrphanagesController';
|
||||
import UploadConfig from './config/upload';
|
||||
|
||||
const routes = Router();
|
||||
const upload = multer(UploadConfig);
|
||||
Reference in New Issue
Block a user