Update moderation.ts

This commit is contained in:
Face 2025-05-30 16:34:43 +03:00
parent b2ecd11162
commit eaf63fc6b3

View file

@ -1,6 +1,6 @@
export async function isNameAppropriate(name: string): Promise<boolean> {
try {
const response = await fetch('http://localhost:9999', {
const response = await fetch('http://moderation-moderation-service-1:9999', {
method: 'POST',
headers: {
'Content-Type': 'application/json',