9 lines
157 B
JavaScript
9 lines
157 B
JavaScript
|
export function buildPath(basePath, path) {
|
||
|
if (!basePath) {
|
||
|
return path;
|
||
|
}
|
||
|
else {
|
||
|
return `${basePath}/${path}`;
|
||
|
}
|
||
|
}
|