Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp
345 B
Raw Blame
// SPDX-License-Identifier: AGPL-3.0-or-later

import {HttpResponse, http} from 'msw';

export function createPwnedPasswordsRangeHandler() {
	return http.get('https://api.pwnedpasswords.com/range/:prefix', () => {
		return HttpResponse.text('', {
			status: 200,
			headers: {
				'content-type': 'text/plain; charset=utf-8',
			},
		});
	});
}