MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / getUploadPath

Function getUploadPath

packages/server/src/utils/index.ts:2018–2022  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2016}
2017
2018export 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
2024export function generateId() {
2025 return uuidv4()

Callers

nothing calls this directly

Calls 1

getUserHomeFunction · 0.70

Tested by

no test coverage detected