diff --git a/server/app.js b/server/app.js index 807243d..477995a 100644 --- a/server/app.js +++ b/server/app.js @@ -2,7 +2,6 @@ import 'dotenv/config'; import path from 'path'; import AutoLoad from '@fastify/autoload'; import { fileURLToPath } from 'url'; -import 'dotenv/config'; const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); diff --git a/server/example.env b/server/example.env new file mode 100644 index 0000000..7c7f693 --- /dev/null +++ b/server/example.env @@ -0,0 +1 @@ +SESSION_SECRET=replacemewitharandomstringinproduction