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
1da6d23d
Unverified
Commit
1da6d23d
authored
Dec 28, 2023
by
Anuraag D Jain
Committed by
GitHub
Dec 28, 2023
Browse files
Merge branch 'main' into fix/model-saving
parents
4d375498
46f131cc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
backend/dev.sh
backend/dev.sh
+1
-1
backend/start.sh
backend/start.sh
+1
-1
src/lib/apis/auths/index.ts
src/lib/apis/auths/index.ts
+1
-1
src/lib/apis/users/index.ts
src/lib/apis/users/index.ts
+1
-1
No files found.
backend/dev.sh
View file @
1da6d23d
uvicorn main:app
--port
8080
--host
0.0.0.0
--reload
\ No newline at end of file
uvicorn main:app
--port
8080
--host
0.0.0.0
--forwarded-allow-ips
'*'
--reload
\ No newline at end of file
backend/start.sh
View file @
1da6d23d
uvicorn main:app
--host
0.0.0.0
--port
8080
\ No newline at end of file
uvicorn main:app
--host
0.0.0.0
--port
8080
--forwarded-allow-ips
'*'
\ No newline at end of file
src/lib/apis/auths/index.ts
View file @
1da6d23d
...
...
@@ -3,7 +3,7 @@ import { WEBUI_API_BASE_URL } from '$lib/constants';
export
const
getSessionUser
=
async
(
token
:
string
)
=>
{
let
error
=
null
;
const
res
=
await
fetch
(
`
${
WEBUI_API_BASE_URL
}
/auths`
,
{
const
res
=
await
fetch
(
`
${
WEBUI_API_BASE_URL
}
/auths
/
`
,
{
method
:
'
GET
'
,
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
...
...
src/lib/apis/users/index.ts
View file @
1da6d23d
...
...
@@ -34,7 +34,7 @@ export const updateUserRole = async (token: string, id: string, role: string) =>
export
const
getUsers
=
async
(
token
:
string
)
=>
{
let
error
=
null
;
const
res
=
await
fetch
(
`
${
WEBUI_API_BASE_URL
}
/users`
,
{
const
res
=
await
fetch
(
`
${
WEBUI_API_BASE_URL
}
/users
/
`
,
{
method
:
'
GET
'
,
headers
:
{
'
Content-Type
'
:
'
application/json
'
,
...
...
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