mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor(databases): show ip in external connection instead of hostname
This commit is contained in:
@@ -252,6 +252,10 @@ export const settingsRouter = createTRPCRouter({
|
||||
}
|
||||
return readConfigInPath(input.path);
|
||||
}),
|
||||
getIp: protectedProcedure.query(async () => {
|
||||
const admin = await findAdmin();
|
||||
return admin.serverIp;
|
||||
}),
|
||||
|
||||
getOpenApiDocument: protectedProcedure.query(
|
||||
async ({ ctx }): Promise<unknown> => {
|
||||
|
||||
Reference in New Issue
Block a user