mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-21 16:03:26 +00:00
* feat: add an api base url instance setting for displayed urls * feat: show the api base url as cli remote, keep mcp url on origin * fix: keep push captures on origin and load the api base url on svix page * fix: reject shell metacharacters in webhook and api base urls * test: drop the trivial api base url resolver test * feat: hide the api base url setting behind a toggle * fix: let the quick setup toggle reveal the api base url field * chore: update ee-repo-ref to 017710bdd0a10de857f0f40800dde238cdb1ad24 This commit updates the EE repository reference after PR #863 was merged in windmill-ee-private. Previous ee-repo-ref: f67cd621bd45840e6389e0469a67378864f269a0 New ee-repo-ref: 017710bdd0a10de857f0f40800dde238cdb1ad24 Automated by sync-ee-ref workflow. --------- Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
35 lines
1.1 KiB
Svelte
35 lines
1.1 KiB
Svelte
<script lang="ts">
|
|
import ClipboardPanel from './details/ClipboardPanel.svelte'
|
|
import Section from './Section.svelte'
|
|
import { useOperatingWorkspace } from '$lib/components/operatingWorkspace.svelte'
|
|
import { apiBaseUrl } from '$lib/apiBaseUrl.svelte'
|
|
|
|
const operatingWorkspace = useOperatingWorkspace()
|
|
|
|
let url = $derived(`${apiBaseUrl()}/`)
|
|
</script>
|
|
|
|
<Section label="CLI quick setup">
|
|
<div class="text-xs" role="alert" id="dynamic-input-help-box">
|
|
<ul class="pl-0 list-decimal list-inside flex flex-col gap-4">
|
|
<li>
|
|
<span class="font-medium">Install the latest wmill CLI from npm: </span>
|
|
<div class="mt-1">
|
|
<ClipboardPanel content={'npm install -g windmill-cli'} />
|
|
</div>
|
|
</li>
|
|
|
|
<li>
|
|
<span class="font-medium">Setup the wmill cli for this workspace & remote:</span>
|
|
<div class="mt-1">
|
|
<ClipboardPanel
|
|
content={`wmill workspace add ${$operatingWorkspace} ${$operatingWorkspace} ${url}`}
|
|
/>
|
|
</div>
|
|
</li>
|
|
<li><span class="font-medium">Follow the prompts in your terminal</span></li>
|
|
<li><span class="font-medium">Use the run command above!</span></li>
|
|
</ul>
|
|
</div>
|
|
</Section>
|