()
| 2007 | } |
| 2008 | |
| 2009 | export const getUploadPath = (): string => { |
| 2010 | return process.env.BLOB_STORAGE_PATH |
| 2011 | ? path.join(process.env.BLOB_STORAGE_PATH, 'uploads') |
| 2012 | : path.join(getUserHome(), '.flowise', 'uploads') |
| 2013 | } |
| 2014 | |
| 2015 | export function generateId() { |
| 2016 | return uuidv4() |
nothing calls this directly
no test coverage detected