corrected syntax in readme
This commit is contained in:
parent
7023ef3048
commit
d2e6d407c6
@ -17,13 +17,16 @@ etc...
|
|||||||
# Newsletter
|
# Newsletter
|
||||||
<br/>
|
<br/>
|
||||||
If you want to add members to the newsletter, I store a file as /etc/newsletter_members.js:<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"]
|
let members = ["member1@gmail.com","member2@outlook.com"]
|
||||||
|
|
||||||
if (typeof module !== 'undefined' && module.exports) {
|
if (typeof module !== 'undefined' && module.exports) {
|
||||||
module.exports = members;
|
module.exports = members;
|
||||||
}
|
}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
# Setup
|
# 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/>
|
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/>
|
You can run /node/app.js in a tmux session for the website<br/>
|
||||||
|
Loading…
Reference in New Issue
Block a user