Skip to content

Commit 0a8625b

Browse files
committed
Added support for using a relative path (resolves #36 and #37).
Updated license to GNUv3. Updated dependencies.
1 parent c2a05fd commit 0a8625b

23 files changed

+238
-145
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ Config Setting | Description | Default Value
132132
`server.https.enabled` | If enabled, the service is started using HTTPS. | `false`
133133
`server.https.keyPath` | Path to the SSL certificate's private key. Required when HTTPS is enabled. | (Empty string, no path set)
134134
`server.port` | Port to use for Node.js server for accepting incoming connections. | `8080`
135+
`server.relativePath` | Relative path from the host where the service will be located. Should always begin (and end) with `/`. | `/`
135136
`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`
136137
`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)
137138
`status.online` | If set to false no clients will be able to connect to this service. | `true`

config/settings.default.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"connTimeout": 30000,
77
"host": "127.0.0.1",
88
"name": "xbrowsersync",
9-
"useSRV" : false,
9+
"useSRV": false,
1010
"username": "",
1111
"password": "",
1212
"port": 27017
@@ -34,7 +34,8 @@
3434
"enabled": false,
3535
"keyPath": ""
3636
},
37-
"port": 8080
37+
"port": 8080,
38+
"relativePath": "/"
3839
},
3940
"status": {
4041
"allowNewSyncs": true,

dist/core/server.js

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/core/server.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/docs/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/docs/index.js.LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
* https://github.com/paulmillr/es6-shim/
99
*/
1010

11-
/*! smooth-scroll v16.1.0 | (c) 2019 Chris Ferdinandi | MIT License | http://github.com/cferdinandi/smooth-scroll */
11+
/*! smooth-scroll v16.1.1 | (c) 2019 Chris Ferdinandi | MIT License | http://github.com/cferdinandi/smooth-scroll */

dist/docs/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/routers/bookmarks.router.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/routers/bookmarks.router.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/routers/docs.router.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)