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