nuxt.config.ts
(config upload path)
export default defineNuxtConfig({
telemetry: false,
runtimeConfig: {
paths: {
upload: path.join(process.cwd(), '../upload'), //fs.realpathSync( '../upload') --> will be an error, if it does not exist
}