added console log for process.env testing

This commit is contained in:
Abhinav-grd 2021-05-24 19:03:22 +05:30
parent ccf08a75fe
commit 2515a5df4a

View file

@ -8,6 +8,10 @@ export interface LocationSearchResponse {
bbox: Bbox;
}
export const getMapboxToken = () => {
console.log(
process.env.NEXT_PUBLIC_MAPBOX_TOKEN,
process.env.NEXT_PUBLIC_SENTRY_DSN
);
return process.env.NEXT_PUBLIC_MAPBOX_TOKEN;
};