Commit 9d74a2d3 authored by Gabriel Mazetto's avatar Gabriel Mazetto

whitelist /refresh_wikis on readonly_geo middleware

parent 2547f41f
......@@ -2,7 +2,7 @@ module Gitlab
module Middleware
class ReadonlyGeo
DISALLOWED_METHODS = %w(POST PATCH PUT DELETE)
WHITELISTED = %w(api/v3/internal api/v3/geo/refresh_projects)
WHITELISTED = %w(api/v3/internal api/v3/geo/refresh_projects api/v3/geo/refresh_wikis)
def initialize(app)
@app = app
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment