()
| 2016 | } |
| 2017 | |
| 2018 | export const getUploadPath = (): string => { |
| 2019 | return process.env.BLOB_STORAGE_PATH |
| 2020 | ? path.join(process.env.BLOB_STORAGE_PATH, 'uploads') |
| 2021 | : path.join(getUserHome(), '.flowise', 'uploads') |
| 2022 | } |
| 2023 | |
| 2024 | export function generateId() { |
| 2025 | return uuidv4() |
nothing calls this directly
no test coverage detected