Skip to content

Commit

Permalink
Remove duplicate call to dotEnv, add an example.env file for reference
Browse files Browse the repository at this point in the history
  • Loading branch information
francisli committed Mar 28, 2024
1 parent 8349ca6 commit 515d6eb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions server/example.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SESSION_SECRET=replacemewitharandomstringinproduction

0 comments on commit 515d6eb

Please sign in to comment.