Skip to content

Commit 0f1d7f3

Browse files
committed
Remove remaining Ghost-related code
1 parent 757db45 commit 0f1d7f3

File tree

4 files changed

+0
-86
lines changed

4 files changed

+0
-86
lines changed

.env.sample

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
PORT=3000
22

3-
NEXT_PUBLIC_GHOST_URL=
4-
GHOST_KEY=
5-
63
API_ENTREPRISES_URL=
74
NEXT_PUBLIC_API_DECOUPAGE_ADMIN_URL=
85

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ cp .env.sample .env
5353

5454
Puis compléter les champs suivants :
5555
- `PORT` -> Port d’écoute du serveur, 3000 par défaut.
56-
>*Les champs suivants sont optionnels, mais vous ne pourrez pas accéder à la page `/blog` du site.*
57-
- `NEXT_PUBLIC_GHOST_URL` -> URL complète du blog Ghost (optionnel)
58-
- `GHOST_KEY` -> Jeton permettant l’accès aux articles du Blog Ghost (optionnel)
5956
>*Pour utiliser l’API, vous devez compléter ce champ.*
6057
>*En local, utilisez ce jeton pour authentifier les appels à l’API*
6158
- `API_ENTREPRISES_URL` -> URL de l’API "recherche-entreprises"

lib/blog.js

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

next.config.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ const withBundleAnalyzer = bundleAnalyzer({
66

77
const imagesDomains = []
88

9-
if (process.env.NEXT_PUBLIC_GHOST_URL) {
10-
const url = new URL(process.env.NEXT_PUBLIC_GHOST_URL)
11-
imagesDomains.push(url.hostname)
12-
}
13-
149
if (process.env.NEXT_PUBLIC_IMAGES_DOMAIN) {
1510
const url = new URL(process.env.NEXT_PUBLIC_IMAGES_DOMAIN)
1611
imagesDomains.push(url.hostname)

0 commit comments

Comments
 (0)