Set hog configuration values.
This command will update the values in the file .hog.yml
hog set [command]
hog set protocol http
hog set protocol https
hog set domain localhost
hog set domain 192.168.1.101
hog set domain example.com
hog set port 3000
Set protocol value. This value can only be http
or https
.
hog set protocol http
hog set protocol https
Set domain value.
This is the domain from which the devices are going to reach the server, can be an ip like 192.168.1.101
or a
public domain like example.com
. This value is used for sharing functionalities
hog set domain localhost
hog set domain 192.168.1.101
hog set domain example.com
Set port value.
This value must be a number
hog set port 3000