Skip to content
This repository has been archived by the owner on Jan 30, 2022. It is now read-only.

Added "-d" | "--dev" flags to allow development locally #30

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,6 @@ node index.js

You can enable it to run continuously easily with programs like [Forever](https://github.com/foreverjs/forever) or [Nodemon](https://github.com/remy/nodemon).

# Known Dev quirks

In talks-ctrl.js, there is a code block in two functions that limit write actions to within users in a specified IP range.

```js
if (!allowedIP(req.clientIp)) {
res.sendStatus(500);
return;
}
```

It doesn't include localhost currently so I (@lannonbr) have commented those lines out when debugging it, but if anyone is interested in setting up something to skip those lines in a development mode, feel free to contribute.

## Tools Used

- Express
Expand Down
Loading