Fix minor mistake in README

main
Elnu 2 years ago committed by GitHub
parent 4bfcf6631e
commit 3f2f72a278
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -50,7 +50,7 @@ Here, we have two sites, one hosted locally at port 3000 and one hosted locally
For the first site, we specify that we want the SQLite database file to be stored in `databases/test.db`, and we want the name and email fields of each comment to be required to prevent anonymous comments. (Keep in mind that the JavaScript in [soudan.js](demo/soudan.js) assumes that these flags are not set, so you would need to manually add the `required` flag to the name and email `<input>` fields respectively.) For the first site, we specify that we want the SQLite database file to be stored in `databases/test.db`, and we want the name and email fields of each comment to be required to prevent anonymous comments. (Keep in mind that the JavaScript in [soudan.js](demo/soudan.js) assumes that these flags are not set, so you would need to manually add the `required` flag to the name and email `<input>` fields respectively.)
For the second site, we can leave all the configuration fields as their defaults by giving an empty YAML object `{}`. If the database file path isnt provided, it will default to the domain plus the `.db` extension, so in this case it will be `localhost:3000.db` in the current directory. Name and email are not required by default. For the second site, we can leave all the configuration fields as their defaults by giving an empty YAML object `{}`. If the database file path isnt provided, it will default to the domain plus the `.db` extension, so in this case it will be `localhost:5000.db` in the current directory. Name and email are not required by default.
## Moderation ## Moderation

Loading…
Cancel
Save