mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #38224 from whiteinge/cors-options-unauthed
Allow CORS OPTIONS requests to be unauthenticated
This commit is contained in:
commit
203109dd17
1 changed files with 2 additions and 2 deletions
|
@ -880,12 +880,12 @@ cherrypy.tools.html_override = cherrypy.Tool('on_start_resource',
|
|||
html_override_tool, priority=53)
|
||||
cherrypy.tools.salt_token = cherrypy.Tool('on_start_resource',
|
||||
salt_token_tool, priority=55)
|
||||
cherrypy.tools.cors_tool = cherrypy.Tool('before_request_body',
|
||||
cors_tool, priority=50)
|
||||
cherrypy.tools.salt_auth = cherrypy.Tool('before_request_body',
|
||||
salt_auth_tool, priority=60)
|
||||
cherrypy.tools.hypermedia_in = cherrypy.Tool('before_request_body',
|
||||
hypermedia_in)
|
||||
cherrypy.tools.cors_tool = cherrypy.Tool('before_request_body',
|
||||
cors_tool, priority=30)
|
||||
cherrypy.tools.lowdata_fmt = cherrypy.Tool('before_handler',
|
||||
lowdata_fmt, priority=40)
|
||||
cherrypy.tools.hypermedia_out = cherrypy.Tool('before_handler',
|
||||
|
|
Loading…
Add table
Reference in a new issue