Skip to content

Commit

Permalink
Merge pull request #19 from lksnjw/friday-mor
Browse files Browse the repository at this point in the history
Friday mor
  • Loading branch information
lksnjw authored Oct 12, 2024
2 parents a0cd7e0 + 39f062c commit 3f5bd11
Show file tree
Hide file tree
Showing 3 changed files with 358 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

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


// Production-only delivery task scheduling
if (process.env.SERVER_ENV === 'production') {
checkForAvailableDrivers()
Expand All @@ -42,6 +43,7 @@ if (process.env.SERVER_ENV === 'production') {
}



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

// Set up port from environment or default to 8000
Expand Down
Loading

0 comments on commit 3f5bd11

Please sign in to comment.