Fix visitor limit check
This commit is contained in:
@@ -7,7 +7,9 @@ client
|
||||
.setEndpoint(
|
||||
(process.env["NEXT_PUBLIC_APPWRITE_HOST"] as string).replace(
|
||||
"localhost",
|
||||
"host.docker.internal"
|
||||
process.env.NODE_ENV == "production"
|
||||
? "host.docker.internal"
|
||||
: "localhost"
|
||||
)
|
||||
)
|
||||
.setProject("pingvin-share")
|
||||
|
||||
Reference in New Issue
Block a user