Skip to content

Commit 71aae25

Browse files
authored
Merge pull request #1157 from solid/fix/#433#1081
Fix #433 and #1081
2 parents 110a4a3 + 96ddff1 commit 71aae25

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -116,19 +116,6 @@ See [Running Solid behind a reverse proxy](https://github.com/solid/node-solid-s
116116

117117
> To use Gmail you may need to configure ["Allow Less Secure Apps"](https://www.google.com/settings/security/lesssecureapps) in your Gmail account unless you are using 2FA in which case you would have to create an [Application Specific](https://security.google.com/settings/security/apppasswords) password. You also may need to unlock your account with ["Allow access to your Google account"](https://accounts.google.com/DisplayUnlockCaptcha) to use SMTP.
118118
119-
### Run the Linked Data Platform (intermediate)
120-
If you don't want WebID Authentication and Web Access Control, you can run a simple Linked Data Platform.
121-
122-
```bash
123-
# over HTTP
124-
$ solid start --port 8080 --no-webid
125-
# over HTTPS
126-
$ solid start --port 8080 --ssl-key key.pem --ssl-cert cert.pem --no-webid
127-
```
128-
129-
**Note:** if you want to run on HTTP, do not pass the `--ssl-*` flags, but keep `--no-webid`
130-
131-
132119
### Extra flags (expert)
133120
The command line tool has the following options
134121

bin/lib/start.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,17 @@ function bin (argv, server) {
6969
// Set up port
7070
argv.port = argv.port || 3456
7171

72+
// Multiuser with no webid is not allowed
73+
7274
// Webid to be default in command line
7375
if (argv.webid !== false) {
7476
argv.webid = true
7577
}
7678

79+
if (!argv.webid && argv.multiuser) {
80+
throw new Error('Server cannot operate as multiuser without webids')
81+
}
82+
7783
// Signal handling (e.g. CTRL+C)
7884
if (process.platform !== 'win32') {
7985
// Signal handlers don't work on Windows.

0 commit comments

Comments
 (0)