Fix npm run dev:server

pull/753/head
Chocobozzz 2018-06-29 09:33:36 +02:00
parent b889cdb2c6
commit 8244c85ad6
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 3 additions and 3 deletions

View File

@ -2,8 +2,8 @@
set -eu
if [ ! -f "./client/dist/index.html" ]; then
echo "client/dist/index.html does not exist, compile client files..."
if [ ! -f "./client/dist/en_US/index.html" ]; then
echo "client/dist/en_US/index.html does not exist, compile client files..."
npm run build:client
fi

View File

@ -452,7 +452,7 @@ const FEEDS = {
const TRACKER_RATE_LIMITS = {
INTERVAL: 60000 * 5, // 5 minutes
ANNOUNCES_PER_IP_PER_INFOHASH: 10, // maximum announces per torrent in the interval
ANNOUNCES_PER_IP_PER_INFOHASH: 15, // maximum announces per torrent in the interval
ANNOUNCES_PER_IP: 30 // maximum announces for all our torrents in the interval
}