Skip to content

Commit 101e738

Browse files
committed
Move Backoffice backend config to Backoffice context
1 parent 7c07d15 commit 101e738

File tree

5 files changed

+1
-9
lines changed

5 files changed

+1
-9
lines changed

src/apps/backoffice/backend/config/config.ts renamed to src/Contexts/Backoffice/Courses/infrastructure/config/config.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,6 @@ const convictConfig = convict({
77
default: 'default',
88
env: 'NODE_ENV'
99
},
10-
mongo: {
11-
url: {
12-
doc: 'The Mongo connection URL',
13-
format: String,
14-
env: 'MONGO_URL',
15-
default: 'mongodb://localhost:27017/backoffice-backend-dev'
16-
}
17-
},
1810
elastic: {
1911
url: {
2012
doc: 'The Elastic connection URL',
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/Contexts/Backoffice/Courses/infrastructure/persistence/BackofficeElasticConfigFactory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import config from '../../../../../apps/backoffice/backend/config/config';
1+
import config from '../config/config';
22
import ElasticConfig from '../../../../Shared/infrastructure/persistence/elasticsearch/ElasticConfig';
33

44
export class BackofficeElasticConfigFactory {

0 commit comments

Comments
 (0)