Commit 24b815de authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fixup! slaprunner: Fix CORS domain script

parent 6115455f
...@@ -175,7 +175,7 @@ mode = 0644 ...@@ -175,7 +175,7 @@ mode = 0644
recipe = hexagonit.recipe.download recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename} url = ${:_profile_base_location_}/template/${:filename}
download-only = true download-only = true
md5sum = 4c44d617d5bfd1db8695200e896480c0 md5sum = d4c564267dd98cd178a890158c52c384
destination = ${buildout:parts-directory}/monitor-template-cors-domain-cgi destination = ${buildout:parts-directory}/monitor-template-cors-domain-cgi
filename = cors-domain.jinja filename = cors-domain.jinja
mode = 0644 mode = 0644
......
...@@ -30,7 +30,7 @@ if not parser.has_option("cors", "cors-domain"): ...@@ -30,7 +30,7 @@ if not parser.has_option("cors", "cors-domain"):
if "cors-domain" in form: if "cors-domain" in form:
parser.set("cors", "cors-domain", form["cors-domain"].value) parser.set("cors", "cors-domain", form["cors-domain"].value)
cors_domain_parameter = parser.get("cors", "cors-domain") cors_domain_parameter = parser.get("cors", "cors-domain")
if cors_domain_parameter: if cors_domain_parameter:
cors_domain_list = cors_domain_parameter.split() cors_domain_list = cors_domain_parameter.split()
......
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