-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transition from ports.json to listen.json
This commit changes the name of the ports.json file to listen.json. The rationale for this change is that IP addresses for Aluminum to use may also be specified in the file; hence, the term "listening address" is more suitable than "port." The documentation for the ports.json file has also been updated to use the new filename. Additionally, a warning that Wire does not yet include HTTPS support has been added below the description of `listenAddresses.wirePorts.HTTPS`. This change is backwards-incompatible.
- Loading branch information
Showing
6 changed files
with
27 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"wire": { | ||
"HTTP": "80", | ||
"HTTPS": "443" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
******************** | ||
The listen.json file | ||
******************** | ||
|
||
The ``listen.json`` file, located at ``/usr/prefs/listen.json`` determines which listening addresses Aluminum uses for different features. The file contains a single ``listenAddresses`` object, described below. | ||
|
||
A default configuration of ``listen.json`` is located at ``/defaults/prefs/listen.json``. | ||
|
||
.. json:object:: listenAddresses | ||
:property wire: Listening address for Aluminum Wire | ||
:proptype wire: :json:object:`wirePorts` | ||
|
||
.. json:object:: wirePorts | ||
:property String HTTP: Port to use for Aluminum Wire over HTTP | ||
:property String HTTPS: Port to use for Aluminum Wire over HTTPS | ||
|
||
.. warning:: Wire does not yet support HTTPS. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters