Skip to content

Commit f80949c

Browse files
feat: Refactor styles and add dotenv and dev mode support
- Updated app.scss and index.scss to use modern Sass @use syntax for global styles. - Introduced _globals.scss for shared style variables and mixins. - Added godotenv package to load environment variables from a .env file. - Implemented isDevelopmentMode function to toggle cookie settings based on the environment. - Adjusted CORS settings and cookie configurations for development and production modes.
1 parent a7b76d9 commit f80949c

File tree

9 files changed

+1681
-1322
lines changed

9 files changed

+1681
-1322
lines changed

.env.template

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
JWT_SECRET_KEY=
22
OTP_VALIDITY_PERIOD=600
33
RESEND_OTP_COOLDOWN=60
4-
JWT_EXPIRY_DAYS=90
4+
JWT_EXPIRY_DAYS=90
5+
DEVELOPMENT_MODE=true

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ heimdall
77
credentials.json
88
token.json
99
.env
10+
11+
heimdall.exe

0 commit comments

Comments
 (0)