9 lines
193 B
TypeScript
9 lines
193 B
TypeScript
export const getBasePath = (): string => {
|
|
const basePath = process.env.NEXT_PUBLIC_LEAFCUTTER_BASE_PATH;
|
|
|
|
if (basePath && basePath !== "") {
|
|
return `${basePath}`;
|
|
}
|
|
|
|
return "";
|
|
};
|