Skip to content

Commit 229aac0

Browse files
committed
Added backend_url for shuffle multi region
1 parent 58b069b commit 229aac0

File tree

1 file changed

+3
-3
lines changed
  • shuffle-subflow/1.1.0/src

1 file changed

+3
-3
lines changed

shuffle-subflow/1.1.0/src/app.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ def run_userinput(self, user_apikey, sms="", email="", subflow="", information="
7575
if ".shuffler.io" in frontend_url:
7676
frontend_url = "https://shuffler.io"
7777

78-
explore_path = "%s/forms/%s?authorization=%s&reference_execution=%s&source_node=%s" % (frontend_url, self.full_execution["workflow"]["id"], self.full_execution["authorization"], self.full_execution["execution_id"], source_node)
79-
frontend_continue_url = "%s/forms/%s?authorization=%s&reference_execution=%s&answer=true&source_node=%s" % (frontend_url, self.full_execution["workflow"]["id"], self.full_execution["authorization"], self.full_execution["execution_id"], source_node)
80-
frontend_abort_url = "%s/forms/%s?authorization=%s&reference_execution=%s&answer=false&source_node=%s" % (frontend_url, self.full_execution["workflow"]["id"], self.full_execution["authorization"], self.full_execution["execution_id"], source_node)
78+
explore_path = "%s/forms/%s?authorization=%s&reference_execution=%s&source_node=%s&backend_url=%s" % (frontend_url, self.full_execution["workflow"]["id"], self.full_execution["authorization"], self.full_execution["execution_id"], source_node, backend_url)
79+
frontend_continue_url = "%s/forms/%s?authorization=%s&reference_execution=%s&answer=true&source_node=%s&backend_url=%s" % (frontend_url, self.full_execution["workflow"]["id"], self.full_execution["authorization"], self.full_execution["execution_id"], source_node, backend_url)
80+
frontend_abort_url = "%s/forms/%s?authorization=%s&reference_execution=%s&answer=false&source_node=%s&backend_url=%s" % (frontend_url, self.full_execution["workflow"]["id"], self.full_execution["authorization"], self.full_execution["execution_id"], source_node, backend_url)
8181

8282
result["links"]["frontend_no_answer"] = explore_path
8383
result["links"]["frontend_continue"] = frontend_continue_url

0 commit comments

Comments
 (0)