1
0
mirror of https://github.com/XFox111/my-website.git synced 2026-04-22 07:28:01 +03:00

refactor: moved domain name to .env variable

This commit is contained in:
2024-08-21 00:08:15 +00:00
parent 118c5fa16d
commit f7c68ad19b
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -9,5 +9,6 @@ SMTP_PASSWORD=password # Password of your email bot account
SMTP_FROM_EMAIL=email # Email address which will be displayed in "From" field SMTP_FROM_EMAIL=email # Email address which will be displayed in "From" field
SMTP_TO_EMAIL=email # Email to which emails will be sent SMTP_TO_EMAIL=email # Email to which emails will be sent
DOMAIN_NAME=example.com # Your domain name
RESUME_URL=URL # Location of the resume PDF RESUME_URL=URL # Location of the resume PDF
CLARITY_ID=string # Clarity Analytics ID (optional, remove to disable) CLARITY_ID=string # Clarity Analytics ID (optional, remove to disable)
+1 -1
View File
@@ -3,7 +3,7 @@ import bio from "./bio";
import socials from "./socials"; import socials from "./socials";
import Package from "@/../package.json"; import Package from "@/../package.json";
export const canonicalName: URL = new URL("https://xfox111.net"); export const canonicalName: URL = new URL(`https://${process.env.DOMAIN_NAME}`);
const baseTitle: string = "Eugene Fox - Software developer"; const baseTitle: string = "Eugene Fox - Software developer";
const gender: string = "male"; const gender: string = "male";