Skip to content

Commit

Permalink
Merge pull request #21 from lksnjw/friday-mor
Browse files Browse the repository at this point in the history
Friday mor
  • Loading branch information
lksnjw authored Oct 14, 2024
2 parents 0a396ae + f32c500 commit 8548ca6
Show file tree
Hide file tree
Showing 3 changed files with 359 additions and 332 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@ certs

docker-compose.caddy.yml

uploads
uploads

3 changes: 3 additions & 0 deletions backend/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ import {
startSyncDeliveryOrderStatus,
} from './controllers/DLOcontroller.js' // Import the periodic check


//Help Routes
import routes from './routes/Help/index.js'


// Production-only delivery task scheduling
if (process.env.SERVER_ENV === 'production') {
checkForAvailableDrivers()
Expand All @@ -49,6 +51,7 @@ import blogRouter from './routes/Blog.js'
import commentRoutes from './routes/comments.js'
import newsRoutes from './routes/newsRoutes.js'


// Error handling
import { errorHandler, notFound } from './middlewares/errorMiddleware.js'

Expand Down
Loading

0 comments on commit 8548ca6

Please sign in to comment.