More update for Vehicle
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user