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
c9aeeb4e
Unverified
Commit
c9aeeb4e
authored
Nov 30, 2023
by
ntimo
Browse files
feat: add PWA manifest.json
parent
89644d4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
src/app.html
src/app.html
+1
-0
static/manifest.json
static/manifest.json
+16
-0
No files found.
src/app.html
View file @
c9aeeb4e
...
...
@@ -3,6 +3,7 @@
<head>
<meta
charset=
"utf-8"
/>
<link
rel=
"icon"
href=
"%sveltekit.assets%/favicon.png"
/>
<link
rel=
"manifest"
href=
"%sveltekit.assets%/manifest.json"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1"
/>
<script>
// On page load or when changing themes, best to add inline in `head` to avoid FOUC
...
...
static/manifest.json
0 → 100644
View file @
c9aeeb4e
{
"name"
:
"Ollama Web UI"
,
"short_name"
:
"Ollama"
,
"start_url"
:
"/"
,
"display"
:
"standalone"
,
"background_color"
:
"#343541"
,
"theme_color"
:
"#343541"
,
"orientation"
:
"portrait-primary"
,
"icons"
:
[
{
"src"
:
"/favicon.png"
,
"type"
:
"image/png"
,
"sizes"
:
"844x884"
}
]
}
\ No newline at end of file
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