Jeff, Hieu Nguyen
Jeff, Hieu Nguyen
I am still getting stuck with uploading files. Although, i read the routing-controller guide-lines. https://github.com/typestack/routing-controllers/issues/260
Can you give the full soure code ? I am getting stuck with using this snippet code
Hi @19majkel94 ! I have got the same issue. Upload.ts import * as multer from 'multer'; // import * as path from 'path'; import logger from '../logger'; export const fileUploadOptions...
Thanks @franciscocorrales. It is working. It seems there are something missing using `fileUploadOptions ` ``` @HttpPost('/files') uploadPhoto( @UploadedFile('file') file: any) { fs.writeFile('upload.png', file.buffer, (err) => { logger.error('uploadPhoto errerrerr:::', err); });...
it is working as like this snippet code ``` import * as express from 'express'; let expressApp = express(); useExpressServer(expressApp, { ......... }); expressApp.use(express.static(path.join(__dirname, 'public'))); expressApp.listen(PORT); ```
- Dev FaceBook cache - https://developers.facebook.com/apps/xxxxxxxxxx/settings/basic/ - **App Domains must be Empty** - **Privacy Policy URL must be Empty** - **Site URL** is **http://localhost:4200**