- Rough in front end / backend

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-01-23 01:37:11 -05:00
parent 52f8eabd2b
commit 09d112350a
6 changed files with 123 additions and 11 deletions

View File

@@ -1,3 +1,11 @@
const path = require("path");
require("dotenv").config({
path: path.resolve(
process.cwd(),
`.env.${process.env.NODE_ENV || "development"}`
),
});
/**
* Checks if the event secret is correct
* It adds the following properties to the request object: