diff --git a/.env b/.env deleted file mode 100644 index 6f73d51..0000000 --- a/.env +++ /dev/null @@ -1,14 +0,0 @@ -# Settings -ENABLE_SSL=false - -# Port number -HTTP_PORT=80 -HTTPS_PORT=443 - -# SSL (path of SSL cert) -SSL_CERT=/etc/letsencrypt/live/api.domain.local/fullchain.pem -SSL_KEY=/etc/letsencrypt/live/api.domain.local/privkey.pem - -# Security Information (KEEP IN SECRET) -TOKEN_SECRET=8270E043ADCCB7A1C6A4B0466B88AB190813198A366A4935EB30A270DED4F9CD -TOKEN_TTL=3600 \ No newline at end of file diff --git a/.gitignore b/.gitignore index 3236975..8d51463 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +# Prevent uploading config with secret information +.env + # Compiled scripts /dist diff --git a/.testing.env b/.testing.env deleted file mode 100644 index 4f1b878..0000000 --- a/.testing.env +++ /dev/null @@ -1,14 +0,0 @@ -# Settings -ENABLE_SSL=false - -# Port number -HTTP_PORT=8080 -HTTPS_PORT=8443 - -# SSL (path of SSL cert) -SSL_CERT= -SSL_KEY= - -# Security Information (KEEP IN SECRET) -TOKEN_SECRET=AP!_$ECRET -TOKEN_TTL=86400 \ No newline at end of file