Merge pull request #239 from Dokploy/fix/databases-internal-url

refactor(databases): show ip in external connection instead of hostname
This commit is contained in:
Mauricio Siu
2024-07-20 16:18:26 -06:00
committed by GitHub
6 changed files with 14 additions and 8 deletions

View File

@@ -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> => {