Skip to content

Commit c219903

Browse files
committed
docs(api): add CORS_ALLOWED_ORIGIN to .env.example
Adds the `CORS_ALLOWED_ORIGIN` environment variable to the example configuration file. This synchronizes the `.env.example` with the existing documentation and recent CORS-related code changes, ensuring developers are aware of this required setting for production deployments.
1 parent f03fe95 commit c219903

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copy this file to .env and fill in your actual configuration values.
33
# The .env file is ignored by Git and should NOT be committed.
44

5-
DATABASE_URL="mongodb://user:password@localhost:27017/ht_api_db"
5+
# DATABASE_URL="mongodb://user:password@localhost:27017/ht_api_db"
66

77
# (Optional for Production) The specific origin URL of your web client (e.g., the HT Dashboard).
88
# This is required for production deployments to allow cross-origin requests.

0 commit comments

Comments
 (0)