Allow Cross-origin resource sharing for GitLab API
It will allow to write web applications on other domains to interact
with GitLab instances
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
... | ... | @@ -44,6 +44,7 @@ gem "gitlab-linguist", "~> 2.9.6", require: "linguist" |
# API | ||
gem "grape", "~> 0.4.1" | ||
gem "grape-entity", "~> 0.3.0" | ||
gem 'rack-cors', require: 'rack/cors' | ||
# Format dates and times | ||
# based on human-friendly examples | ||
... | ... |
Please register or sign in to comment