Skip to content

Commit 62830fb

Browse files
committed
update config docs
1 parent 8c41c61 commit 62830fb

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,9 @@ If your configuration is not valid, sqtracker will fail to start.
8080
| SQ_BP_EARNED_PER_GB | envs | 1 | Number of bonus points awarded to a user for each GB they upload |
8181
| SQ_BP_COST_PER_INVITE | envs | 3 | Number of bonus it costs a user to buy 1 invite (set to 0 to disable buying invites) |
8282
| SQ_BP_COST_PER_GB | envs | 3 | Number of bonus it costs a user to buy 1 GB of upload (set to 0 to disable buying upload) |
83-
| SQ_SITE_WIDE_FREELEECH | envs | `true` | Whether or not to enable freeleech on all torrents |
83+
| SQ_SITE_WIDE_FREELEECH | envs | `false` | Whether or not to enable freeleech on all torrents |
8484
| SQ_TORRENT_CATEGORIES | envs | `{ "Movies": ["HD", ...], "TV": [...] }` | A dictionary of categories, each with an array of zero or more sources available within that category |
85+
| SQ_ALLOW_UNREGISTERED_VIEW | envs | `false` | Whether or not torrent pages can be viewed by unregistered users. If true, only logged in users will be able to download/interact, but anyone (search engines included) will be able to view/read torrent info. |
8586
| SQ_BASE_URL | envs | https://demo.sqtracker.dev | The URL of your tracker site |
8687
| SQ_API_URL | envs | https://demo.sqtracker.dev/api | The URL of your API. Under the recommended setup, it should be `${SQ_BASE_URL}/api` |
8788
| SQ_MONGO_URL | envs | mongodb://sq_mongodb/sq | The URL of your MongoDB server. Under the recommended setup, it should be `mongodb://sq_mongodb/sq` |

config.example.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ module.exports = {
2121
SQ_BP_COST_PER_INVITE: 3,
2222
SQ_BP_COST_PER_GB: 3,
2323
SQ_SITE_WIDE_FREELEECH: false,
24+
SQ_ALLOW_UNREGISTERED_VIEW: false,
2425
SQ_BASE_URL: "https://sqtracker.dev",
2526
SQ_API_URL: "https://sqtracker.dev/api",
2627
SQ_MONGO_URL: "mongodb://sq_mongodb",

0 commit comments

Comments
 (0)