mirror of
https://github.com/mudabbir-ahmad/Portfolio_V1.git
synced 2026-12-06 19:53:09 +00:00
26 lines
1.1 KiB
Bash
26 lines
1.1 KiB
Bash
# Copy this file to secrets/.env and fill in your own values.
|
|
# secrets/ is gitignored, so real values never leave your machine.
|
|
VITE_NAME=Your Name
|
|
VITE_LOCATION=City, Country
|
|
VITE_EMAIL=you@example.com
|
|
VITE_GITHUB_USER=your-github-username
|
|
VITE_LINKEDIN=https://www.linkedin.com/in/your-profile
|
|
VITE_CV_URL=/CV/Bob-CV.pdf
|
|
|
|
# Server-side only (server/index.js). Deliberately not prefixed with VITE_,
|
|
# so Vite never inlines these into the browser bundle.
|
|
# Powers the contribution graph. Use a fine-grained PAT scoped to your own
|
|
# account only, read-only, no repository access selected. The server is the
|
|
# only thing that ever sees it now, but keep it minimal-scope regardless.
|
|
GITHUB_TOKEN=
|
|
# Exact origin(s) allowed to call /api/* (your deployed domain).
|
|
ALLOWED_ORIGIN=https://mudabbir.co.uk
|
|
PORT=3001
|
|
|
|
# Encryption in transit. Pick ONE:
|
|
# a) Terminate TLS in this server: paths to PEM files (e.g. Let's Encrypt).
|
|
# TLS_CERT=/etc/letsencrypt/live/example.com/fullchain.pem
|
|
# TLS_KEY=/etc/letsencrypt/live/example.com/privkey.pem
|
|
# b) Behind a TLS reverse proxy: redirect any plain-HTTP request to HTTPS.
|
|
# FORCE_HTTPS=true
|