Skip to content

Commit 6ad8cfb

Browse files
authored
Merge pull request #4 from ashish10677/fix-local-build
fix: use / for dev environment
2 parents ea1095f + f6349cc commit 6ad8cfb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[context.deploy-preview]
2-
command = "npm run deploy"
2+
command = "npm run deploy-dev"
33
publish = "public"

src/_data/env.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ const isDev = process.env.ELEVENTY_ENV === 'dev'
22

33
module.exports = {
44
baseUrl: isDev
5-
? '/inpycon2025/'
5+
? '/'
66
: '/2025/'
77
}

0 commit comments

Comments
 (0)