fixed an error for CORS
This commit is contained in:
parent
5d8e7c3946
commit
b138328a32
|
@ -11,7 +11,9 @@ const app = express()
|
|||
|
||||
app.use(express.json())
|
||||
app.use(
|
||||
cors()
|
||||
cors({
|
||||
origin: 'https://minfy.xyz'
|
||||
})
|
||||
)
|
||||
|
||||
app.use(json())
|
||||
|
|
Loading…
Reference in New Issue