Skip to content

Commit

Permalink
Added support for using a relative path (resolves #36 and #37).
Browse files Browse the repository at this point in the history
Updated license to GNUv3.
Updated dependencies.
  • Loading branch information
nero120 committed Jan 18, 2020
1 parent c2a05fd commit 0a8625b
Show file tree
Hide file tree
Showing 23 changed files with 238 additions and 145 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -132,6 +132,7 @@ Config Setting | Description | Default Value
`server.https.enabled` | If enabled, the service is started using HTTPS. | `false`
`server.https.keyPath` | Path to the SSL certificate's private key. Required when HTTPS is enabled. | (Empty string, no path set)
`server.port` | Port to use for Node.js server for accepting incoming connections. | `8080`
`server.relativePath` | Relative path from the host where the service will be located. Should always begin (and end) with `/`. | `/`
`status.allowNewSyncs` | Determines whether users will be allowed to create new syncs. Note: if this setting is set to false, users who have already synced to this service and have a sync ID will still able to get and update their syncs. | `true`
`status.message` | This message will be displayed in the service status panel of the client app when using this xBrowserSync service. Ideally the message should be 130 characters or less. Supports [markdown](https://guides.github.com/features/mastering-markdown/) formatting. | (Empty string, no message set)
`status.online` | If set to false no clients will be able to connect to this service. | `true`
Expand Down
5 changes: 3 additions & 2 deletions config/settings.default.json
Expand Up @@ -6,7 +6,7 @@
"connTimeout": 30000,
"host": "127.0.0.1",
"name": "xbrowsersync",
"useSRV" : false,
"useSRV": false,
"username": "",
"password": "",
"port": 27017
Expand Down Expand Up @@ -34,7 +34,8 @@
"enabled": false,
"keyPath": ""
},
"port": 8080
"port": 8080,
"relativePath": "/"
},
"status": {
"allowNewSyncs": true,
Expand Down
6 changes: 4 additions & 2 deletions dist/core/server.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/core/server.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/docs/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/docs/index.js.LICENSE
Expand Up @@ -8,4 +8,4 @@
* https://github.com/paulmillr/es6-shim/
*/

/*! smooth-scroll v16.1.0 | (c) 2019 Chris Ferdinandi | MIT License | http://github.com/cferdinandi/smooth-scroll */
/*! smooth-scroll v16.1.1 | (c) 2019 Chris Ferdinandi | MIT License | http://github.com/cferdinandi/smooth-scroll */
2 changes: 1 addition & 1 deletion dist/docs/index.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/routers/bookmarks.router.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/routers/bookmarks.router.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion dist/routers/docs.router.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/routers/docs.router.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion dist/routers/info.router.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/routers/info.router.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0a8625b

Please sign in to comment.