Skip to content

the Routs that (used startsWith method)  #42

Description

@Eslam3bed

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 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions