mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-10-15 21:31:11 +00: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