From a51c4eb9420e1cfc4334424c17a5b564f8d3a33e Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Thu, 3 Sep 2020 12:43:01 +0200 Subject: [PATCH] config: use ts module.exports syntax for compatibility --- config/default.ts | 4 ++-- config/production.ts | 4 ++-- config/test.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/default.ts b/config/default.ts index 3546551..68420fe 100644 --- a/config/default.ts +++ b/config/default.ts @@ -1,4 +1,4 @@ -export default { +module.exports = { app: { name: 'Example App', contact_email: 'contact@example.net' @@ -43,4 +43,4 @@ export default { cache: false }, approval_mode: false, -}; \ No newline at end of file +} diff --git a/config/production.ts b/config/production.ts index a7fa44e..a73f4a1 100644 --- a/config/production.ts +++ b/config/production.ts @@ -1,4 +1,4 @@ -export default { +module.exports = { log_level: "DEBUG", db_log_level: "ERROR", base_url: "https://watch-my.stream", @@ -12,4 +12,4 @@ export default { secure: true, allow_invalid_tls: false } -}; \ No newline at end of file +} diff --git a/config/test.ts b/config/test.ts index 5b56d75..5dc5f77 100644 --- a/config/test.ts +++ b/config/test.ts @@ -1,4 +1,4 @@ -export default { +module.exports = { mysql: { host: "localhost", user: "root", @@ -6,4 +6,4 @@ export default { database: "wms2_core_test", create_database_automatically: true } -}; \ No newline at end of file +}