mirror of
https://github.com/sasjs/server.git
synced 2026-06-10 02:20:22 +00:00
feat(deploy): add route to deploy a file tree to @sasjs/server
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import path from 'path'
|
||||
import { getRealPath } from '@sasjs/utils'
|
||||
|
||||
export const getTmpFolderPath = () =>
|
||||
getRealPath(path.join(__dirname, '..', '..', 'tmp'))
|
||||
|
||||
export const getTmpFilesFolderPath = () =>
|
||||
path.join(getTmpFolderPath(), 'files')
|
||||
Reference in New Issue
Block a user