Remove domain logging
This commit is contained in:
parent
81be076f6e
commit
763b602026
@ -27,7 +27,7 @@ import AdminGrid from '@/admin/AdminGrid';
|
||||
import DeleteButton from '@/admin/DeleteButton';
|
||||
import EditButton from '@/admin/EditButton';
|
||||
import StorageUrls from '@/admin/StorageUrls';
|
||||
import { DOMAIN_META_TO_LOG, PRO_MODE_ENABLED } from '@/site/config';
|
||||
import { PRO_MODE_ENABLED } from '@/site/config';
|
||||
import SubmitButtonWithStatus from '@/components/SubmitButtonWithStatus';
|
||||
import IconGrSync from '@/site/IconGrSync';
|
||||
|
||||
@ -50,8 +50,6 @@ export default async function AdminPhotosPage({
|
||||
|
||||
const showMorePhotos = count > photos.length;
|
||||
|
||||
console.log(DOMAIN_META_TO_LOG);
|
||||
|
||||
return (
|
||||
<SiteGrid
|
||||
contentMain={
|
||||
|
||||
@ -17,23 +17,6 @@ const SITE_DOMAIN =
|
||||
process.env.NEXT_PUBLIC_SITE_DOMAIN ||
|
||||
VERCEL_URL;
|
||||
|
||||
export const DOMAIN_META_TO_LOG = {
|
||||
vercel: {
|
||||
VERCEL_URL: process.env.VERCEL_URL,
|
||||
VERCEL_BRANCH_URL: process.env.VERCEL_BRANCH_URL,
|
||||
VERCEL_REGION: process.env.VERCEL_REGION,
|
||||
NEXT_PUBLIC_VERCEL_URL: process.env.NEXT_PUBLIC_VERCEL_URL,
|
||||
NEXT_PUBLIC_VERCEL_BRANCH_URL: process.env.NEXT_PUBLIC_VERCEL_BRANCH_URL,
|
||||
},
|
||||
app: {
|
||||
VERCEL_BRANCH_URL,
|
||||
VERCEL_BRANCH,
|
||||
VERCEL_URL,
|
||||
PUBLIC_SITE_DOMAIN: process.env.NEXT_PUBLIC_SITE_DOMAIN,
|
||||
SITE_DOMAIN,
|
||||
},
|
||||
};
|
||||
|
||||
const SITE_DOMAIN_SHORT = shortenUrl(SITE_DOMAIN);
|
||||
|
||||
export const SITE_DOMAIN_OR_TITLE =
|
||||
|
||||
Loading…
Reference in New Issue
Block a user