Skip to content

Commit

Permalink
[docs] use correct api urls
Browse files Browse the repository at this point in the history
  • Loading branch information
mskocik committed Jan 25, 2025
1 parent ef90aa2 commit 16b8ce5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/validation/SuperForm.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<!-- <Svelecte creatable name="favourite" bind:value={$form.favourite} clearable placeholder="Search for the best color" /> -->
<Svelecte
name="favourite"
fetch="/api/colors/?query=[query]"
fetch="/api/colors?query=[query]"
minQuery={2}
creatable={true}
keepCreated={true}
Expand All @@ -50,7 +50,7 @@
<label for="sv-tags-select-input">
Pick some other (multiple) colors. At least 2. <span class="invalid" style="margin-left: 0">*</span>
</label>
<Svelecte fetch="http://localhost:5173/api/colors?query=[query]"
<Svelecte fetch="/api/colors?query=[query]"
name="tags"
bind:value={$form.tags} multiple clearable required placeholder="Search for color" />
<br>
Expand Down

0 comments on commit 16b8ce5

Please sign in to comment.