Skip to content

Commit 737a80e

Browse files
committed
Updated drive url
1 parent 3126355 commit 737a80e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/helpers/drive.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ import type {
88
import { getAxiosInstance } from '@/helpers/http';
99

1010
const PROXY_BASE = drive.CORS_PROXY ? `${drive.CORS_PROXY}/` : '';
11-
const DRIVE_API = `${PROXY_BASE}${drive.DRIVE_API_URL}`;
11+
// const DRIVE_API = `${PROXY_BASE}${drive.DRIVE_API_URL}`;
12+
const DRIVE_API = `${drive.DRIVE_API_URL}`;
1213

1314
const axiosInstance = getAxiosInstance();
1415

@@ -50,7 +51,7 @@ export async function findItemsByCollabId(collabId: string): Promise<CollabItems
5051

5152
return { files, folders };
5253
}
53-
54+
5455
export async function createFolder(collabId: string, folderName: string) {
5556
if (!folderName.startsWith('/')) {
5657
folderName = `/${folderName}`;

0 commit comments

Comments
 (0)