mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-02-02 00:16:34 +01:00
moved index to src
This commit is contained in:
parent
5ae8cb77ac
commit
d2a7ef921b
@ -6,7 +6,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npx tsc",
|
"build": "npx tsc",
|
||||||
"start": "node dist/index.js",
|
"start": "node dist/index.js",
|
||||||
"dev": "nodemon --watch './**/*.ts' --exec node --experimental-specifier-resolution=node --loader ts-node/esm ./index.ts"
|
"dev": "nodemon --watch './**/*.ts' --exec node --experimental-specifier-resolution=node --loader ts-node/esm ./src/index.ts"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
|
@ -3,7 +3,7 @@ const app = express();
|
|||||||
const PORT = 8000;
|
const PORT = 8000;
|
||||||
|
|
||||||
// server-node: backend api
|
// server-node: backend api
|
||||||
import api from './src/routes/api/api-controller';
|
import api from './routes/api/api-controller';
|
||||||
app.use("/api/", api);
|
app.use("/api/", api);
|
||||||
|
|
||||||
// serve
|
// serve
|
@ -33,6 +33,7 @@ router.post("/:workflowUuid?", [
|
|||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
// TODO: Enable if traverse & organize migration is done.
|
||||||
// // Allow option to do it synchronously and just make a long request
|
// // Allow option to do it synchronously and just make a long request
|
||||||
// if(req.body.async === "false") {
|
// if(req.body.async === "false") {
|
||||||
// console.log("Don't do async");
|
// console.log("Don't do async");
|
||||||
|
Loading…
Reference in New Issue
Block a user