refactor(server): move instance-URL resolution to app-config

This commit is contained in:
jubnl
2026-07-28 20:21:09 +02:00
parent 292f1b181c
commit cafff003a3
29 changed files with 202 additions and 73 deletions
@@ -2,7 +2,7 @@ import { Injectable } from '@nestjs/common';
import crypto from 'node:crypto';
import { DatabaseService } from '../database/database.service';
import { encrypt_api_key, decrypt_api_key } from '../../services/apiKeyCrypto';
import { getAppUrl } from '../../services/notifications';
import { getAppUrl } from '../../app-config';
import { isPrivateIp } from './install/safe-fetch';
import { safeFetchLlm } from '../../utils/ssrfGuard';