mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-11-04 21:56:12 +08:00 
			
		
		
		
	typo
This commit is contained in:
		@@ -114,7 +114,7 @@ export function getRandomInt(min: number, max: number) {
 | 
			
		||||
    return Math.floor(Math.random() * (max - min + 1)) + min;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export function getCryptoRandomInt(min; number, max: number) {
 | 
			
		||||
export function getCryptoRandomInt(min: number, max: number) {
 | 
			
		||||
    const randomBuffer = new Uint32Array(1);
 | 
			
		||||
    crypto.getRandomValues(randomBuffer);
 | 
			
		||||
    let randomNumber = randomBuffer[0] / (0xffffffff + 1);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user