Fixed blank baseurl param problem with multiple configuration files
This commit is contained in:
parent
67e0345d47
commit
7f72dda5b7
6 changed files with 16 additions and 4 deletions
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
jekyll serve --watch --host "127.0.0.1" --baseurl ""
|
||||
jekyll serve --watch --host "127.0.0.1" --config _config.yml,_config.dev.yml
|
||||
|
|
|
|||
2
scripts/serve-lan
Normal file → Executable file
2
scripts/serve-lan
Normal file → Executable file
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
sudo iptables -I INPUT -p tcp --dport 4000 -j ACCEPT
|
||||
jekyll serve --watch --host "0.0.0.0" --baseurl ""
|
||||
jekyll serve --watch --host "0.0.0.0" --config _config.yml,_config.dev.yml
|
||||
|
|
|
|||
2
scripts/serve-lan-production
Normal file → Executable file
2
scripts/serve-lan-production
Normal file → Executable file
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
sudo iptables -I INPUT -p tcp --dport 4000 -j ACCEPT
|
||||
JEKYLL_ENV=production jekyll serve --host "0.0.0.0" --baseurl ""
|
||||
JEKYLL_ENV=production jekyll serve --host "0.0.0.0" --config _config.yml,_config.dev.yml
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
JEKYLL_ENV=production jekyll serve --host "127.0.0.1" --baseurl ""
|
||||
JEKYLL_ENV=production jekyll serve --host "127.0.0.1" --config _config.yml,_config.dev.yml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue