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:
@@ -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)
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user