Feature (setup): Add cors option to setup.js script. #62

Closed
opened 2025-11-09 09:39:47 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @jojobii-arks on GitHub (Apr 9, 2023).

Summary

  • Since CORS can now be disabled via environment variable, it would be suitable to prompt the user whether they'd like it enabled on their server.

450d01753d/src/cobalt.js (L28)

  • The current implementation makes it enabled by default, but some may want it to be enabled for security concerns and whatnot.
Originally created by @jojobii-arks on GitHub (Apr 9, 2023). # Summary - Since CORS can now be disabled via environment variable, it would be suitable to prompt the user whether they'd like it enabled on their server. https://github.com/wukko/cobalt/blob/450d01753db471f002b027eed44c4741694f538e/src/cobalt.js#L28 - The current implementation makes it enabled by default, but some may want it to be enabled for security concerns and whatnot.
Sign in to join this conversation.