Project

General

Profile

Actions

Defect #28188

open

No Access-Control-Allow-Origin

Added by anju dhiman about 6 years ago. Updated 5 months ago.

Status:
New
Priority:
Urgent
Assignee:
-
Category:
Accounts / authentication
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Hi ,

I am using the redmine api in angular js and for users and issues list, but i am getting error "No 'Access-Control-Allow-Origin'" while hit api.
Can any body help me?
I need this on urgently basis.
I am using redmine 3.3.1

Actions #1

Updated by Justin Raines about 6 years ago

If you need to get this working, you can edit the gem file adding rack-cors, then modify the application file as specified here: https://github.com/cyu/rack-cors. Assuming your redmine is publically available, be careful what resources you make available, as the rest of your site would then be embeddable via JS. Resources should be as specific to rails routes you need available as possible to prevent possible security compromise.

Actions

Also available in: Atom PDF