you should be more specific about the routs
like the route below
any request with url starts with tm gonna satisfies the condition
for example:
/tmmmam ^^
/tmoro^^
|
}else if (url.startsWith('/tm')) { |
}else if (url.startsWith('/mem')) {
/memoo!
/memontm
/memarto!
Cool code though guys 😄
you should be more specific about the routs
like the route below
any request with url starts with tm gonna satisfies the condition
for example:
project-manager/src/routes.js
Line 15 in 64b9625
Cool code though guys 😄