forked from jappel/leistungsbilanz-ts
Add portable project transfer API
This commit is contained in:
parent
5fa2a701dc
commit
da8115fe1d
10 changed files with 552 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ import { errorMiddleware } from "./middleware/error.middleware.js";
|
|||
const app = express();
|
||||
const port = Number(process.env.PORT || 3000);
|
||||
|
||||
app.use(express.json());
|
||||
app.use(express.json({ limit: "25mb" }));
|
||||
|
||||
app.get("/health", (_req, res) => {
|
||||
res.json({ ok: true });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue