build
All checks were successful
Build & Deploy / deploy (push) Successful in 33s

This commit is contained in:
2026-01-16 13:31:31 +01:00
parent 1071c537ac
commit 6f7b0dc9a9

View File

@@ -1,6 +1,6 @@
import express from 'express'; import express from 'express';
import * as path from 'path'; import * as path from 'path';
import nodemailer from 'nodemailer'; import * as nodemailer from 'nodemailer';
import cors from 'cors'; import cors from 'cors';
import * as dotenv from 'dotenv'; import * as dotenv from 'dotenv';
import helmet from 'helmet'; import helmet from 'helmet';
@@ -98,7 +98,7 @@ app.use(express.static(distPath));
// The "catchall" handler: for any request that doesn't // The "catchall" handler: for any request that doesn't
// match one above, send back React's index.html file. // match one above, send back React's index.html file.
app.get('/:any*', (req, res) => { app.get(/.*/, (req, res) => {
res.sendFile(path.join(distPath, 'index.html')); res.sendFile(path.join(distPath, 'index.html'));
}); });