mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Merge commit '2ff8ca1af179185b13b922ead124a91614862dcb' into lts2_client
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
export function TrimToFit(s, limit=20) {
|
||||
if (s.length < limit) return s;
|
||||
return s.slice(0, limit);
|
||||
}
|
||||
Reference in New Issue
Block a user