Skip to content

Commit cd82c80

Browse files
committed
fix: site build errors, remove dep on .ghost.json
1 parent dd0777f commit cd82c80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/siteConfig.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
const config = require(`../../.ghost.json`).production;
1+
22
module.exports = {
33
siteUrl:
44
process.env.NODE_ENV === `production`
5-
? process.env.SITE_URL || config.siteUrl || `https://internetfreedom-in.pages.dev`
5+
? process.env.SITE_URL || `https://internetfreedom-in.pages.dev`
66
: `https://internetfreedom-in.pages.dev`, // Site domain. Do not include a trailing slash!
77

88
postsPerPage: 3, // Number of posts shown on paginated pages (changes this requires sometimes to delete the cache)

0 commit comments

Comments
 (0)