fix: use https protocol in next config

This commit is contained in:
Ilia Mashkov
2026-05-21 18:01:03 +03:00
parent 4d54947a91
commit 3e520f6abb
2 changed files with 2 additions and 4 deletions
@@ -5,7 +5,7 @@ export function buildFileUrl(
collectionId: string,
recordId: string,
filename: string,
baseUrl: string = process.env.NEXT_PUBLIC_PB_URL ?? 'http://127.0.0.1:8090',
baseUrl: string = process.env.PB_PUBLIC_URL ?? 'http://127.0.0.1:8090',
): string {
return `${baseUrl}/api/files/${collectionId}/${recordId}/${filename}`;
}