"...git@developer.sourcefind.cn:OpenDAS/mmdetection3d.git" did not exist on "49a2bc85952b3fcb0651d78cfea0c307ce8d65c6"
Commit 22a8fa2f authored by Anuraag Jain's avatar Anuraag Jain
Browse files

Merge branch 'fix/model-saving' of...

Merge branch 'fix/model-saving' of https://github.com/anuraagdjain/ollama-webui into fix/model-saving
parents 5ee58e1c 1da6d23d
uvicorn main:app --port 8080 --host 0.0.0.0 --reload uvicorn main:app --port 8080 --host 0.0.0.0 --forwarded-allow-ips '*' --reload
\ No newline at end of file \ No newline at end of file
uvicorn main:app --host 0.0.0.0 --port 8080 uvicorn main:app --host 0.0.0.0 --port 8080 --forwarded-allow-ips '*'
\ No newline at end of file \ No newline at end of file
...@@ -3,7 +3,7 @@ import { WEBUI_API_BASE_URL } from '$lib/constants'; ...@@ -3,7 +3,7 @@ import { WEBUI_API_BASE_URL } from '$lib/constants';
export const getSessionUser = async (token: string) => { export const getSessionUser = async (token: string) => {
let error = null; let error = null;
const res = await fetch(`${WEBUI_API_BASE_URL}/auths`, { const res = await fetch(`${WEBUI_API_BASE_URL}/auths/`, {
method: 'GET', method: 'GET',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',
......
...@@ -34,7 +34,7 @@ export const updateUserRole = async (token: string, id: string, role: string) => ...@@ -34,7 +34,7 @@ export const updateUserRole = async (token: string, id: string, role: string) =>
export const getUsers = async (token: string) => { export const getUsers = async (token: string) => {
let error = null; let error = null;
const res = await fetch(`${WEBUI_API_BASE_URL}/users`, { const res = await fetch(`${WEBUI_API_BASE_URL}/users/`, {
method: 'GET', method: 'GET',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment