diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Controllers/Http/ServiceController.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Controllers/Http/ServiceController.js b/app/Controllers/Http/ServiceController.js index 3ce6acd..ef8b168 100644 --- a/app/Controllers/Http/ServiceController.js +++ b/app/Controllers/Http/ServiceController.js | |||
@@ -98,7 +98,7 @@ class ServiceController { | |||
98 | workspaces: [], | 98 | workspaces: [], |
99 | ...settings, | 99 | ...settings, |
100 | iconUrl: settings.iconId | 100 | iconUrl: settings.iconId |
101 | ? `${Env.get('EXTERNAL_DOMAIN')}/v1/icon/${settings.iconId}` | 101 | ? `${Env.get('APP_URL')}/v1/icon/${settings.iconId}` |
102 | : null, | 102 | : null, |
103 | id: service.serviceId, | 103 | id: service.serviceId, |
104 | name: service.name, | 104 | name: service.name, |
@@ -176,7 +176,7 @@ class ServiceController { | |||
176 | id, | 176 | id, |
177 | name: service.name, | 177 | name: service.name, |
178 | ...newSettings, | 178 | ...newSettings, |
179 | iconUrl: `${Env.get('EXTERNAL_DOMAIN')}/v1/icon/${newSettings.iconId}`, | 179 | iconUrl: `${Env.get('APP_URL')}/v1/icon/${newSettings.iconId}`, |
180 | userId: auth.user.id, | 180 | userId: auth.user.id, |
181 | }, | 181 | }, |
182 | status: ['updated'], | 182 | status: ['updated'], |
@@ -223,7 +223,7 @@ class ServiceController { | |||
223 | id, | 223 | id, |
224 | name: service.name, | 224 | name: service.name, |
225 | ...settings, | 225 | ...settings, |
226 | iconUrl: `${Env.get('EXTERNAL_DOMAIN')}/v1/icon/${settings.iconId}`, | 226 | iconUrl: `${Env.get('APP_URL')}/v1/icon/${settings.iconId}`, |
227 | userId: auth.user.id, | 227 | userId: auth.user.id, |
228 | }, | 228 | }, |
229 | status: ['updated'], | 229 | status: ['updated'], |
@@ -293,7 +293,7 @@ class ServiceController { | |||
293 | workspaces: [], | 293 | workspaces: [], |
294 | ...settings, | 294 | ...settings, |
295 | iconUrl: settings.iconId | 295 | iconUrl: settings.iconId |
296 | ? `${Env.get('EXTERNAL_DOMAIN')}/v1/icon/${settings.iconId}` | 296 | ? `${Env.get('APP_URL')}/v1/icon/${settings.iconId}` |
297 | : null, | 297 | : null, |
298 | id: service.serviceId, | 298 | id: service.serviceId, |
299 | name: service.name, | 299 | name: service.name, |