Skip to content

Commit 5dbfb2f

Browse files
author
linuxjava7
committed
fix subdomain issue
1 parent a034cae commit 5dbfb2f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

eleventy.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,5 +135,5 @@ export const config = {
135135
// it will transform any absolute URLs in your HTML to include this
136136
// folder name and does **not** affect where things go in the output folder.
137137

138-
// pathPrefix: "/",
138+
pathPrefix: "/",
139139
};

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"scripts": {
77
"build": "npx @11ty/eleventy",
88
"build-nocolor": "cross-env NODE_DISABLE_COLORS=1 npx @11ty/eleventy",
9-
"build-ghpages": "npx @11ty/eleventy --pathprefix=/linuxjava7.github.io/",
9+
"build-ghpages": "npx @11ty/eleventy",
1010
"start": "npx @11ty/eleventy --serve --quiet",
11-
"start-ghpages": "npx @11ty/eleventy --pathprefix=/linuxjava7.github.io/ --serve --quiet",
11+
"start-ghpages": "npx @11ty/eleventy --serve --quiet",
1212
"debug": "cross-env DEBUG=Eleventy* npx @11ty/eleventy",
1313
"debugstart": "cross-env DEBUG=Eleventy* npx @11ty/eleventy --serve --quiet",
1414
"benchmark": "cross-env DEBUG=Eleventy:Benchmark* npx @11ty/eleventy"

0 commit comments

Comments
 (0)