浏览代码

update ui root API

pearlgw 2 月之前
父节点
当前提交
b5445917bb
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      index.js

+ 4 - 0
index.js

@@ -30,6 +30,10 @@ apiV1.use('/admin', adminRoutes);
30 30
 apiV1.use('/hospital', hospitalRoutes);
31 31
 apiV1.use('/hospital-area', salesHospitalRoutes);
32 32
 
33
+app.get('/', (req, res) => {
34
+    res.send('Selamat Datang di API Radar Farmagitechs');
35
+});
36
+
33 37
 app.use('/v1/api', apiV1);
34 38
 app.use(errorHandler);
35 39