This commit is contained in:
Thomas G 2022-08-08 05:40:24 +10:00
parent b182a6f953
commit c88650fab6
3 changed files with 6 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class RouteServiceProvider extends ServiceProvider
return Limit::perMinute(60)->by(optional($request->user())->id ?: $request->ip());
});*/
RateLimiter::for('feed_post', function (Request $request) {
return Limit::perMinute(2)->by(optional($request->user())->id);
return Limit::perMinute(3)->by(optional($request->user())->id);
});
}
}

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -20,4 +20,9 @@
$file = "http://morblox.us/stamper/sid/{$sid}.xml";
readfile($file);
}
if ($nsets) {
header("content-type:text/xml");
$file = "http://morblox.us/stamper/sid/{$sid}.xml";
readfile($file);
}
@endphp