Skip to content

Commit a48343a

Browse files
committed
chore: Remove NUXT_BASE_URL
1 parent 7897ae8 commit a48343a

12 files changed

Lines changed: 10 additions & 66 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ jobs:
2424
with:
2525
node-version: '24.x'
2626

27-
- name: Get dotenv secrets
28-
run: |
29-
touch .env
30-
echo NUXT_BASE_URL = ${{ secrets.NUXT_BASE_URL }} >> .env
31-
3227
- name: Clean install Node dependencies
3328
run: pnpm install --frozen-lockfile
3429

.github/workflows/deploy.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ jobs:
2121
with:
2222
node-version: '24.x'
2323

24-
- name: Get dotenv secrets
25-
run: |
26-
touch .env
27-
echo NUXT_BASE_URL = ${{ secrets.NUXT_BASE_URL }} >> .env
28-
2924
- name: Clean install Node dependencies
3025
run: pnpm i --frozen-lockfile
3126

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ The central hub of my professional presence, built with **Nuxt 4**. This project
2222
- **Node**: v24
2323
- **pnpm**: v10
2424

25-
Create a `.env` file with the following properties:
26-
- `NUXT_BASE_URL`
27-
2825
```bash
2926
# Serve with hot reload at localhost:3000
3027
$ pnpm run dev

agents.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,4 @@ pnpm test:report # Open HTML coverage report
6565
### Accessibility
6666
- Follow WCAG 2.2 AA as a minimum standard.
6767
- Use semantic HTML.
68-
- The `.sr-only` global utility class is used to provide screen-reader-only context (e.g. icon button labels, decorative link supplements).
69-
70-
---
71-
72-
## Environment Variables
73-
74-
| Variable | Purpose |
75-
|---|---|
76-
| `NUXT_BASE_URL` | Full site URL (e.g. `https://jackdomleo.dev`), required for canonical URLs, OG tags, and Schema.org |
68+
- The `.sr-only` global utility class is used to provide screen-reader-only context (e.g. icon button labels, decorative link supplements).

app/pages/[slug].vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ useSeoMeta({
3636
3737
useHead({
3838
link: [
39-
{ rel: 'canonical', href: `${config.public.BASE_URL}/${$route.params.slug}` }
39+
{ rel: 'canonical', href: `https://jackdomleo.dev/${$route.params.slug}` }
4040
]
4141
});
4242
</script>

app/pages/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ const config = useRuntimeConfig()
6868
6969
useHead({
7070
link: [
71-
{ rel: 'canonical', href: `${config.public.BASE_URL}` }
71+
{ rel: 'canonical', href: `https://jackdomleo.dev` }
7272
]
7373
})
7474
7575
useSchemaOrg([
7676
defineWebSite({
7777
name: 'Jack Domleo',
78-
url: config.public.BASE_URL,
78+
url: 'https://jackdomleo.dev',
7979
description: `Personal website of Jack Domleo, ${variables.OCCUPATION}`,
8080
inLanguage: 'en-GB'
8181
})

app/pages/links.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ useSeoMeta({
2727
2828
useHead({
2929
link: [
30-
{ rel: 'canonical', href: `${config.public.BASE_URL}/links` }
30+
{ rel: 'canonical', href: 'https://jackdomleo.dev/links' }
3131
]
3232
})
3333

app/pages/projects.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ useSeoMeta({
2424
2525
useHead({
2626
link: [
27-
{ rel: 'canonical', href: `${config.public.BASE_URL}/projects` }
27+
{ rel: 'canonical', href: 'https://jackdomleo.dev/projects' }
2828
]
2929
})
3030
</script>

app/pages/work.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ useSeoMeta({
192192
193193
useHead({
194194
link: [
195-
{ rel: 'canonical', href: `${config.public.BASE_URL}/work` }
195+
{ rel: 'canonical', href: 'https://jackdomleo.dev/work' }
196196
]
197197
});
198198
</script>

app/types/process.env.d.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)