bug/cors-error
luwol03 opened this issue · 1 comments
luwol03 commented
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Fetch the api from crossorigin in the browser
- See cors error in debug console
Expected behavior
Api should return the result and browser shouldnt block the request due to cross origin.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. macos]
- node version:
- npm version:
- database dialect:
- commit ref:
Additional context
Should be an easy fix by adding the cors middleware to the server.js