From b4b64a1267230415402936e331b29c88e9f79ece Mon Sep 17 00:00:00 2001 From: oat_dev Date: Thu, 11 Jul 2024 11:38:33 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=20api=20log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/03_logs/api.log.ts | 7 +++++++ src/app.config.ts | 3 +++ 2 files changed, 10 insertions(+) create mode 100644 src/api/03_logs/api.log.ts diff --git a/src/api/03_logs/api.log.ts b/src/api/03_logs/api.log.ts new file mode 100644 index 00000000..0c87bbb4 --- /dev/null +++ b/src/api/03_logs/api.log.ts @@ -0,0 +1,7 @@ +import env from "../index"; +const log = `https://bma-ehr-admin.frappet.synology.me/api/v1/log`; +// const log = `${env.API_URI}/log`; + +export default { + log, +}; diff --git a/src/app.config.ts b/src/app.config.ts index 10f02edb..cd707286 100644 --- a/src/app.config.ts +++ b/src/app.config.ts @@ -29,6 +29,8 @@ import organization from "./api/02_organizational/api.organization"; import file from "./api/file/api.file"; +import log from "./api/03_logs/api.log"; + /** API ManagementUsers*/ import menagement from "./api/manage/api.management"; @@ -98,6 +100,7 @@ const API = { /*file*/ ...file, + ...log, /** menagement*/ ...menagement, /** KPI*/