corrected syntax in readme

This commit is contained in:
deadvey 2024-11-02 11:42:48 +01:00
parent 7023ef3048
commit d2e6d407c6

View File

@ -17,13 +17,16 @@ etc...
# Newsletter
<br/>
If you want to add members to the newsletter, I store a file as /etc/newsletter_members.js:<br/>
```
```js
let members = ["member1@gmail.com","member2@outlook.com"]
if (typeof module !== 'undefined' && module.exports) {
module.exports = members;
}
```
# Setup
I use apache2 to run the website and accept traffic, though for the main site it runs on nodejs which is hosted on port :8003<br/>
You can run /node/app.js in a tmux session for the website<br/>