CORS Setup
-
I noticed in https://github.com/NodeBB/NodeBB/pull/3899 that the issue of CORS was discussed.
What was the outcome of this.
I am creating an extension to my nodebb forum, and I am creating a separate website to run alongside my forum.
When in production, the forum will reside along the same hostname, and same port, hidden behind an Nginx proxy.
For development however this isn't the case, and I am presented a CORS error.
I saw talks of creating a whitelist of CORS enabled servers.
How do I go about configuring my nodebb server to send the CORS header.
Thanks.
Calum
Copyright © 2024 NodeBB | Contributors