Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
a25761a4
Commit
a25761a4
authored
Dec 22, 2023
by
Timothy J. Baek
Browse files
fix: custom modelfile url search param
parent
8cd93a4e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/routes/(app)/modelfiles/+page.svelte
src/routes/(app)/modelfiles/+page.svelte
+2
-2
No files found.
src/routes/(app)/modelfiles/+page.svelte
View file @
a25761a4
...
...
@@ -98,7 +98,7 @@
<div class=" flex space-x-4 cursor-pointer w-full mb-3">
<a
class=" flex flex-1 space-x-4 cursor-pointer w-full"
href={`/?models=${modelfile.tagName}`}
href={`/?models=${
encodeURIComponent(
modelfile.tagName
)
}`}
>
<div class=" self-center w-10">
<div class=" rounded-full bg-stone-700">
...
...
@@ -121,7 +121,7 @@
<a
class="self-center w-fit text-sm px-2 py-2 border dark:border-gray-600 rounded-xl"
type="button"
href={`/modelfiles/edit?tag=${modelfile.tagName}`}
href={`/modelfiles/edit?tag=${
encodeURIComponent(
modelfile.tagName
)
}`}
>
<svg
xmlns="http://www.w3.org/2000/svg"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment