Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix npm run dev:server

Chocobozzz8244c85ad668
diff --git a/scripts/dev/server.sh b/scripts/dev/server.sh
index bfe322ce1e..9b8fddac65 100755
--- a/scripts/dev/server.sh
+++ b/scripts/dev/server.sh
@@ -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
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 4e1c8dda7f..67df3df80d 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -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
}