feat: normaliser les URL production par entité
All checks were successful
Validation Dashboard / Tests backend et build frontend (push) Successful in 58s
All checks were successful
Validation Dashboard / Tests backend et build frontend (push) Successful in 58s
This commit is contained in:
@@ -4,7 +4,7 @@ import test from 'node:test';
|
||||
import { getEnvironmentConfig } from '../src/utils/environment.js';
|
||||
|
||||
test('détecte le dashboard de recette depuis son domaine public', () => {
|
||||
const config = getEnvironmentConfig('dashboard.recette.santinova-soft.org');
|
||||
const config = getEnvironmentConfig('dashboard-santinova.recette.santinova-soft.org');
|
||||
assert.equal(config.isRecette, true);
|
||||
assert.equal(config.label, 'Recette');
|
||||
assert.equal(config.serverPublicIp, '78.138.58.109');
|
||||
@@ -13,7 +13,7 @@ test('détecte le dashboard de recette depuis son domaine public', () => {
|
||||
});
|
||||
|
||||
test('détecte le dashboard de production depuis son domaine public', () => {
|
||||
const config = getEnvironmentConfig('dashboard.santinova-soft.org');
|
||||
const config = getEnvironmentConfig('dashboard-santinova.santinova-soft.org');
|
||||
assert.equal(config.isRecette, false);
|
||||
assert.equal(config.label, 'Production');
|
||||
assert.equal(config.serverPublicIp, '180.149.196.138');
|
||||
|
||||
Reference in New Issue
Block a user