med-cms 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,7 +1,11 @@
1
- # MED-CMS (v1.0.0)
1
+ # MED-CMS (v1.1.0)
2
2
 
3
3
  > ## `med-cms` — Это автономный медецинский движок для управления сетями клиник, персоналом и расписание приймов и т.д. Написан `med-cms` на node.js с использованием **express**, **sequelize**
4
4
 
5
+ <p align="center">
6
+ <img src="public/icon/icon.png" alt="MED-CMS Logo" width="200"/>
7
+ </p>
8
+
5
9
  ### Модуль поставляется со встроенной базой данных, системой разграничения прав доступа на основе **34 медицинских специальностей** и готовым веб-интерфейсом (АРМ Врача, Личный Кабинет Пациента, Панель Суперадминистратора), а также готовой главной страницей
6
10
 
7
11
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "med-cms",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Медицинская мультитендантная CMS на Express и Sequelize (SQLite3) с системой ролей и автоматическим расчетом участков",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
Binary file
package/server/server.js CHANGED
@@ -575,28 +575,31 @@ function createMedRouter(jwtSecret) {
575
575
  phone: process.env.ADMIN_PHONE,
576
576
  });
577
577
  });
578
- api.get("/home", async (req, res) => {
578
+ web.get("/home", async (req, res) => {
579
579
  res.redirect("/med/html/home.html");
580
580
  });
581
- api.get("/general", async (req, res) => {
581
+ web.get("/general", async (req, res) => {
582
582
  res.redirect("/med/html/home.html");
583
583
  });
584
- api.get("/h", async (req, res) => {
584
+ web.get("/h", async (req, res) => {
585
585
  res.redirect("/med/html/home.html");
586
586
  });
587
- api.get("/главная", async (req, res) => {
587
+ web.get("/главная", async (req, res) => {
588
588
  res.redirect("/med/html/home.html");
589
589
  });
590
- api.get("/Главная", async (req, res) => {
590
+ web.get("/Главная", async (req, res) => {
591
591
  res.redirect("/med/html/home.html");
592
592
  });
593
- api.get("/Home", async (req, res) => {
593
+ web.get("/Home", async (req, res) => {
594
594
  res.redirect("/med/html/home.html");
595
595
  });
596
- api.get("/login", async (req, res) => {
596
+ web.get("/login", async (req, res) => {
597
597
  res.redirect("/med/html/login.html");
598
598
  });
599
- api.get("/вход", async (req, res) => {
599
+ web.get("/вход", async (req, res) => {
600
+ res.redirect("/med/html/login.html");
601
+ });
602
+ web.get("/med-login", async (req, res) => {
600
603
  res.redirect("/med/html/login.html");
601
604
  });
602
605