mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: retrieve the correct names when adding a prefix
This commit is contained in:
@@ -152,12 +152,8 @@ export const composeRouter = createTRPCRouter({
|
||||
const compose = await findComposeById(input.composeId);
|
||||
const domains = await findDomainsByComposeId(input.composeId);
|
||||
|
||||
let composeFile = await addDomainToCompose(compose, domains);
|
||||
const composeFile = await addDomainToCompose(compose, domains);
|
||||
|
||||
if (compose.randomize && composeFile && compose.prefix) {
|
||||
const result = randomizeSpecificationFile(composeFile, compose.prefix);
|
||||
composeFile = result;
|
||||
}
|
||||
return dump(composeFile, {
|
||||
lineWidth: 1000,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user