mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-23 08:00:45 +00:00
fix base url of flow webhooks for embedded windmill
This commit is contained in:
@@ -60,10 +60,10 @@
|
||||
}
|
||||
|
||||
function computeFlowWebhooks(path: string) {
|
||||
let base = `${$page.url.origin}/api/w/${$workspaceStore}/jobs`
|
||||
let webhooksBase = `${$page.url.origin}${base}/api/w/${$workspaceStore}/jobs`
|
||||
|
||||
let urlAsync = `${base}/run/f/${path}`
|
||||
let urlSync = `${base}/run_wait_result/f/${path}`
|
||||
let urlAsync = `${webhooksBase}/run/f/${path}`
|
||||
let urlSync = `${webhooksBase}/run_wait_result/f/${path}`
|
||||
return {
|
||||
async: {
|
||||
path: urlAsync
|
||||
|
||||
Reference in New Issue
Block a user