mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-20 06:35:22 +02:00
fix(settings): update getIp function to return an empty string for cloud environments
This commit is contained in:
@@ -497,7 +497,7 @@ export const settingsRouter = createTRPCRouter({
|
||||
}),
|
||||
getIp: protectedProcedure.query(async () => {
|
||||
if (IS_CLOUD) {
|
||||
return true;
|
||||
return "";
|
||||
}
|
||||
const settings = await getWebServerSettings();
|
||||
return settings?.serverIp || "";
|
||||
|
||||
Reference in New Issue
Block a user