1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-03 21:10:05 +00:00

Revert "fix: moved macros from codebase to drive"

This reverts commit 9ac3191891.
This commit is contained in:
Saad Jutt
2022-03-23 17:59:06 +05:00
parent a701bb25e7
commit d2956fc641
5 changed files with 4 additions and 20 deletions

View File

@@ -7,7 +7,6 @@ import cors from 'cors'
import {
connectDB,
copySASjsCore,
getWebBuildFolderPath,
loadAppStreamConfig,
sasJSCoreMacros,
@@ -43,8 +42,6 @@ const onError: ErrorRequestHandler = (err, req, res, next) => {
}
export default setProcessVariables().then(async () => {
await copySASjsCore()
// loading these modules after setting up variables due to
// multer's usage of process var process.driveLoc
const { setupRoutes } = await import('./routes/setupRoutes')