-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from mcfedr/develop
Fixes for Redmine 3.0
- Loading branch information
Showing
6 changed files
with
70 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
en: | ||
label_cors_domain: Domain | ||
description_cors_domain: Define domain allowed in CORS | ||
label_cors_domain: Domain(s) | ||
description_cors_domain: Define origins(s) (comma or space separated) allowed in CORS, you should include http(s):// | ||
label_cors_headers: Allowed Headers | ||
description_cors_headers: Define headers (comma separated) allowed in CORS requests | ||
label_cors_methods: Allowed Methods | ||
description_cors_methods: Define methods (comma separated) allowed in CORS requests | ||
label_cors_maxage: Max age | ||
description_cors_maxage: Define max age (in seconds) that browsers will cache CORS headers | ||
label_cors_credentials: Allow Credentials | ||
description_cors_credentials: Whether to allow credentials to be sent by browser (use of Authorization header) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
RedmineApp::Application.routes.draw do | ||
match '*path', :to => 'cors#preflight', :constraints => {:method => 'OPTIONS'} | ||
match '*path', :to => 'cors#preflight', via: [:options] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2b03a46
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi ! Does it support Redmine 4.x ?