mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
feat(dokploy): add lobe chat
This commit is contained in:
@@ -357,9 +357,9 @@ export const composeRouter = createTRPCRouter({
|
||||
const generate = await loadTemplateModule(input.id as TemplatesKeys);
|
||||
|
||||
const admin = await findAdminById(ctx.user.adminId);
|
||||
let serverIp = admin.serverIp;
|
||||
let serverIp = admin.serverIp || "127.0.0.1";
|
||||
|
||||
if (!admin.serverIp) {
|
||||
if (!serverIp) {
|
||||
throw new TRPCError({
|
||||
code: "NOT_FOUND",
|
||||
message:
|
||||
|
||||
Reference in New Issue
Block a user