# Setup Cross-Origin Resource Sharing (CORS)

**URL:** https://meta.discourse.org/t/setup-cross-origin-resource-sharing-cors/270819
**Category:** Self-Hosting
**Tags:** how-to
**Created:** [July 6, 2023, 9:46pm UTC](https://meta.discourse.org/t/setup-cross-origin-resource-sharing-cors/270819 "2023-07-06T21:46:39Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![tknospdr](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tknospdr/32/529762_2.png) [@tknospdr](https://meta.discourse.org/u/tknospdr)
#### Post date: [May 26, 2025, 6:53pm UTC](https://meta.discourse.org/t/setup-cross-origin-resource-sharing-cors/270819/5 "2025-05-26T18:53:53Z")

</div>

Waiting for rebuild to finish now to test. If that’s the case, then someone needs to fix this page:

> [@Set Environmental Variables](https://meta.discourse.org/t/set-environmental-variables/270832):
>
> notebook_with_decorative_cover This is a #how-to guide for setting up environmental variables in a self-hosted Discourse installation. person_raising_hand Required user level: Administrator Environmental variables play a crucial role in configuring your Discourse instance. They can store sensitive data like API keys and database passwords, making your installation more secure and flexible. In Discourse, environmental variables are set in the app.yml file within your Docker container setup…

As it’s showing putting `true` inside double quotes.

Rebuild done, no change. ☹

---

_[View the full topic](https://meta.discourse.org/t/setup-cross-origin-resource-sharing-cors/270819)._
