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
295472fc
"vscode:/vscode.git/clone" did not exist on "537a7f5f00e5a99f2074302a927aa30d82668d67"
Commit
295472fc
authored
Apr 10, 2024
by
Timothy J. Baek
Browse files
chore: formatting
parent
a3e41db8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
backend/main.py
backend/main.py
+2
-0
No files found.
backend/main.py
View file @
295472fc
...
@@ -288,6 +288,7 @@ async def get_app_latest_release_version():
...
@@ -288,6 +288,7 @@ async def get_app_latest_release_version():
detail
=
ERROR_MESSAGES
.
RATE_LIMIT_EXCEEDED
,
detail
=
ERROR_MESSAGES
.
RATE_LIMIT_EXCEEDED
,
)
)
@
app
.
get
(
"/manifest.json"
)
@
app
.
get
(
"/manifest.json"
)
async
def
get_manifest_json
():
async
def
get_manifest_json
():
return
{
return
{
...
@@ -301,6 +302,7 @@ async def get_manifest_json():
...
@@ -301,6 +302,7 @@ async def get_manifest_json():
"icons"
:
[{
"src"
:
"/favicon.png"
,
"type"
:
"image/png"
,
"sizes"
:
"844x884"
}],
"icons"
:
[{
"src"
:
"/favicon.png"
,
"type"
:
"image/png"
,
"sizes"
:
"844x884"
}],
}
}
app
.
mount
(
"/static"
,
StaticFiles
(
directory
=
STATIC_DIR
),
name
=
"static"
)
app
.
mount
(
"/static"
,
StaticFiles
(
directory
=
STATIC_DIR
),
name
=
"static"
)
app
.
mount
(
"/cache"
,
StaticFiles
(
directory
=
CACHE_DIR
),
name
=
"cache"
)
app
.
mount
(
"/cache"
,
StaticFiles
(
directory
=
CACHE_DIR
),
name
=
"cache"
)
...
...
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