Skip to content

Commit

Permalink
Merge pull request #341 from dev-threads/fix-cors
Browse files Browse the repository at this point in the history
Fix CORS parameter not doing anything
  • Loading branch information
YOU54F authored Apr 29, 2023
2 parents e037772 + 19be499 commit 6944330
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pact/pact.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ def start_service(self):
command.extend(['--sslcert', self.sslcert])
if self.sslkey:
command.extend(['--sslkey', self.sslkey])
if self.cors:
command.extend(['--cors'])

self._process = Popen(command)
self._wait_for_server_start()
Expand Down

0 comments on commit 6944330

Please sign in to comment.