From d5c43f9639bf5f5e1b29a45390d6cde5b1303d6e Mon Sep 17 00:00:00 2001 From: mbaharip <62494292+mbahArip@users.noreply.github.com> Date: Sat, 6 Apr 2024 22:59:55 +0700 Subject: [PATCH] disable private index --- src/config/gIndex.config.ts | 61 +------------------------------------ 1 file changed, 1 insertion(+), 60 deletions(-) diff --git a/src/config/gIndex.config.ts b/src/config/gIndex.config.ts index 9e1bb35..7ee8c28 100644 --- a/src/config/gIndex.config.ts +++ b/src/config/gIndex.config.ts @@ -206,7 +206,7 @@ const config: z.input = { * The site password are set from Environment Variable (NEXT_GDRIVE_INDEX_PASSWORD) * It's because I don't want to store sensitive data in the code */ - privateIndex: true, + privateIndex: false, /** * Maximum breadcrumb length @@ -284,62 +284,3 @@ const config: z.input = { }; export default config; -// export interface gIndexConfig { -// version: string; -// basePath: string; -// cacheControl: string; - -// apiConfig: { -// rootFolder: string; -// isTeamDrive: boolean; -// defaultQuery: string[]; -// defaultField: string; -// defaultOrder: string; -// itemsPerPage: number; -// searchResult: number; -// proxyThumbnail: boolean; - -// specialFile: { -// password: string; -// readme: string; -// banner: string; -// }; -// hiddenFiles: string[]; - -// allowDownloadProtectedFile: boolean; -// temporaryTokenDuration: number; -// maxFileSize: number; -// }; -// siteConfig: { -// siteName: string; -// siteNameTemplate?: string; -// siteDescription: string; -// siteIcon: string; -// siteAuthor?: string; -// favIcon: string; -// robots?: Metadata["robots"]; -// twitterHandle?: string; - -// footer: string | string[]; - -// privateIndex: boolean; -// breadcrumbMax: number; - -// toaster?: { -// position?: ToastPosition; -// duration?: number; -// }; - -// navbarItems: { -// icon: keyof typeof icons; -// name: string; -// href: string; -// external?: boolean; -// }[]; -// supports: { -// name: string; -// currency: string; -// href: string; -// }[]; -// }; -// }