mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-10-23 12:04:25 -04:00
run local server with relative URLs (for things like codespaces)
[skip ci]
This commit is contained in:
@@ -18,7 +18,8 @@
|
||||
"stylelint.vscode-stylelint"
|
||||
],
|
||||
"forwardPorts": [
|
||||
1337
|
||||
1337,
|
||||
9337
|
||||
],
|
||||
"postCreateCommand": "yarn install"
|
||||
}
|
||||
|
@@ -19,7 +19,7 @@
|
||||
"build:hugo": "hugo --gc --cleanDestinationDir --verbose",
|
||||
"build:functions": "netlify-lambda build functions",
|
||||
"start": "run-p start:hugo start:functions",
|
||||
"start:hugo": "hugo server --disableFastRender --buildDrafts --buildFuture --port 1337 --bind 0.0.0.0 --verbose",
|
||||
"start:hugo": "hugo server --disableFastRender --buildDrafts --buildFuture --port=1337 --baseURL=/ --appendPort=false --bind=0.0.0.0 --verbose",
|
||||
"start:functions": "netlify-lambda serve --port 9337 functions",
|
||||
"start:docker": "docker run --rm -v $(pwd):/src -p 1337:1337 $(docker build --no-cache -q .)",
|
||||
"minify": "run-s minify:**",
|
||||
|
Reference in New Issue
Block a user