mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
fix: Update Google Drive credentials endpoint URL
This commit is contained in:
parent
4528770a0e
commit
49c1267089
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ let CLIENT_ID = '';
|
||||||
|
|
||||||
// Function to fetch credentials from backend config
|
// Function to fetch credentials from backend config
|
||||||
async function getCredentials() {
|
async function getCredentials() {
|
||||||
const response = await fetch('/api/retrieval/config');
|
const response = await fetch('/api/google-drive/config');
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
throw new Error('Failed to fetch Google Drive credentials');
|
throw new Error('Failed to fetch Google Drive credentials');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue