Update moderation.ts
This commit is contained in:
parent
b2ecd11162
commit
eaf63fc6b3
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
export async function isNameAppropriate(name: string): Promise<boolean> {
|
export async function isNameAppropriate(name: string): Promise<boolean> {
|
||||||
try {
|
try {
|
||||||
const response = await fetch('http://localhost:9999', {
|
const response = await fetch('http://moderation-moderation-service-1:9999', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|
|
||||||
Reference in a new issue