Browse Source

remove sidebar redundant items
change base url

HgH 5 năm trước cách đây
mục cha
commit
4c6d5ea0a0
2 tập tin đã thay đổi với 1 bổ sung và 10 xóa
  1. 0 10
      src/components/public/sider.js
  2. 1 0
      src/utils/constants.js

+ 0 - 10
src/components/public/sider.js

@@ -47,16 +47,6 @@ export default function SideMenu(props) {
                                 امتحانات
                             </NavLinkRouter>
                         </Menu.Item>
-                        <Menu.Item key="3">
-                            <NavLinkRouter className="text-white text-decoration-none" to="/questions">
-                                سوالات
-                            </NavLinkRouter>
-                        </Menu.Item>
-                        <Menu.Item key="4">
-                            <NavLinkRouter className="text-white text-decoration-none" to="/tenants">
-                                مدارس
-                            </NavLinkRouter>
-                        </Menu.Item>
                         </>
                     )
                 }

+ 1 - 0
src/utils/constants.js

@@ -8,6 +8,7 @@ module.exports = {
     // ROUTES
     // BASE_URL: "http://preforms.ir/api",
     BASE_URL: "http://questionary.ir/api",
+    // BASE_URL: "http://127.0.0.1:8000/api",
     PREFIX:"",
     LOGIN_PATH: "/token/",
     USER_ROLE: "/portal/users/current",