Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORS for express #175

Closed
Siedlerchr opened this issue Jun 10, 2021 · 1 comment
Closed

CORS for express #175

Siedlerchr opened this issue Jun 10, 2021 · 1 comment

Comments

@Siedlerchr
Copy link
Member

Add CORS middleware for express to allow the WordPlugin to communicate with JabRefOnlne.
Default it is equivalent to Access-Control-Allow-Origin : *
http://expressjs.com/en/resources/middleware/cors.html

@tobiasdiez
Copy link
Member

For security reasons, I would like to keep CORS disabled or at least restrict it to only a few known origins.

See JabRef/JabRef-Word-Addin#30 for more details on how to circumvent CORS problems for the addin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants