More update for Vehicle

This commit is contained in:
Yang Li
2025-06-08 18:34:14 -04:00
parent e70fb22ac3
commit f18f213f6b
34 changed files with 1504 additions and 700 deletions

View File

@@ -8,6 +8,8 @@ var corsOptions = {
// const path = __dirname + '/client/build/';
const path = __dirname + '/app/views/'
const employeeUploadBasePath = '/www/wwwroot/upload/';
app.use('/files', express.static(employeeUploadBasePath));
app.use(cors(corsOptions));
// parse requests of content-type - application/json
app.use(bodyParser.json());