added env for gittea
All checks were successful
Deploy Jody's App / build-and-deploy (push) Successful in 33s
All checks were successful
Deploy Jody's App / build-and-deploy (push) Successful in 33s
This commit is contained in:
2
.env
Normal file
2
.env
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
VITE_CONTACT_API_URL=/api/contact
|
||||||
|
VITE_TURNSTILE_SITE_KEY=0x4AAAAAACfQya1R13nGeuOy
|
||||||
9
.gitignore
vendored
9
.gitignore
vendored
@@ -18,14 +18,7 @@ yarn-error.log*
|
|||||||
pnpm-debug.log*
|
pnpm-debug.log*
|
||||||
|
|
||||||
# Environment files (keep examples)
|
# Environment files (keep examples)
|
||||||
.env
|
|
||||||
.env.*
|
|
||||||
!.env.example
|
|
||||||
!.env.*.example
|
|
||||||
contact-api/.env
|
|
||||||
contact-api/.env.*
|
|
||||||
!contact-api/.env.example
|
|
||||||
!contact-api/.env.*.example
|
|
||||||
|
|
||||||
# Archives and local release bundles
|
# Archives and local release bundles
|
||||||
*.tgz
|
*.tgz
|
||||||
|
|||||||
20
contact-api/.env
Normal file
20
contact-api/.env
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
NODE_ENV=production
|
||||||
|
PORT=8787
|
||||||
|
CONTACT_ALLOWED_ORIGIN=https://jodyholt.com,https://www.jodyholt.com
|
||||||
|
TURNSTILE_EXPECTED_HOSTNAME=jodyholt.com,www.jodyholt.com
|
||||||
|
TURNSTILE_SECRET_KEY=0x4AAAAAACfQyRwRzwsEMIfVtCSkjz7__Yc
|
||||||
|
TURNSTILE_EXPECTED_ACTION=contact_form
|
||||||
|
SMTP_HOST=mail.jodyholt.com
|
||||||
|
SMTP_PORT=587
|
||||||
|
SMTP_SECURE=false
|
||||||
|
SMTP_REQUIRE_TLS=true
|
||||||
|
SMTP_USER=portfolio-smtp
|
||||||
|
SMTP_PASS=portfolio124521!
|
||||||
|
MAIL_FROM_NAME=Portfolio Contact
|
||||||
|
MAIL_FROM_ADDRESS=contact@jodyholt.com
|
||||||
|
MAIL_TO_ADDRESS=you@jodyholt.com
|
||||||
|
MAIL_SUBJECT_PREFIX=[Portfolio Contact]
|
||||||
|
RATE_LIMIT_WINDOW_MS=600000
|
||||||
|
RATE_LIMIT_MAX=5
|
||||||
|
HONEYPOT_FIELD=website
|
||||||
|
MIN_SUBMIT_TIME_MS=3000
|
||||||
Reference in New Issue
Block a user