Skip to content

[_]: feat/add CORS to the project#28

Closed
xabg2 wants to merge 1 commit into
masterfrom
feature/cors
Closed

[_]: feat/add CORS to the project#28
xabg2 wants to merge 1 commit into
masterfrom
feature/cors

Conversation

@xabg2
Copy link
Copy Markdown

@xabg2 xabg2 commented Apr 29, 2026

Adding CORS to the project. It has been configured to allow specific origins.

⚠️ We need to add an env variable: ALLOWED_DOMAINS

@xabg2 xabg2 self-assigned this Apr 29, 2026
@xabg2 xabg2 added the enhancement New feature or request label Apr 29, 2026
Comment thread src/http-server.ts

export default async function () {
const app = express();
const corsOptions = { credentials: true, origin: getAllowedOrigins() };
@xabg2
Copy link
Copy Markdown
Author

xabg2 commented Apr 29, 2026

This is useless

@xabg2 xabg2 closed this Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants