some fixing
All checks were successful
Build & Push Docker Image / build (push) Successful in 1m6s

This commit is contained in:
2026-02-24 18:55:21 +01:00
parent 44ebdcb8ee
commit cf74ed31af
7 changed files with 30 additions and 16 deletions

View File

@@ -15,6 +15,9 @@ const __dirname = path.dirname(__filename);
const app = express();
const PORT = process.env.PORT || 3001;
// Trust proxy for correct req.protocol behind reverse proxy
app.set('trust proxy', true);
// Middleware
app.use(cors());
app.use(express.json());