jfoclpf commented on issue #1549:
URL:
https://github.com/apache/cordova-android/issues/1549#issuecomment-1402724458
I could solve the problem using the `express.static` for static content and
`cors()`
```js
const cors = require('cors')
const app = express()
app.use(cors())
app.use('/image_server', express.static(path.join(__dirname,
'uploadedImages')))
```
I don't know why but NPM express package `cors` deals everything without the
need of nginx special configurations
Thank you very much @breautek anyway
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]