mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-26 05:38:46 +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 () => {
|
getIp: protectedProcedure.query(async () => {
|
||||||
if (IS_CLOUD) {
|
if (IS_CLOUD) {
|
||||||
return true;
|
return "";
|
||||||
}
|
}
|
||||||
const settings = await getWebServerSettings();
|
const settings = await getWebServerSettings();
|
||||||
return settings?.serverIp || "";
|
return settings?.serverIp || "";
|
||||||
|
|||||||
Reference in New Issue
Block a user