Skip to content

Commit

Permalink
feat(jekyll): use port from the configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kosalaperera committed Dec 18, 2020
1 parent 4e606ef commit f51ba19
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/_config.devcontainer.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
url: http://localhost:8004
baseurl: ""
port: 8004
url: http://localhost
repository: alertbox/bookworm

# Build settings
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
],

// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [4000],
"forwardPorts": [8004],
// Uncomment to run commands after the container is created - requires a Gemfile
"postCreateCommand": "zsh .devcontainer/post-create.zsh",

Expand Down
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// See https://jekyllrb.com/docs/configuration/options/#build-command-options
// for the documentation about jekyll build options
"command": "bundle exec jekyll s -l --config _config.yml,.devcontainer/_config.devcontainer.yml -P 8004 --trace",
"command": "bundle exec jekyll s -l --config _config.yml,.devcontainer/_config.devcontainer.yml --trace",
"isBackground": true,
},
{
Expand Down

0 comments on commit f51ba19

Please sign in to comment.