You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I have the following two mounts defined:
app.mount('/', module.resolve('test1/config'));
app.mount('/test2', module.resolve('test2/config'));
The first one will always match the incoming url. It is probably best to sort the mounts by least specific prior to matching. Least specific in this case would be determined by the number of slashes in the spec.path. In the above example, the trailing slash is removed from all paths, so the first mount actually becomes "" and the second is "/test2".
The text was updated successfully, but these errors were encountered:
If I have the following two mounts defined:
app.mount('/', module.resolve('test1/config'));
app.mount('/test2', module.resolve('test2/config'));
The first one will always match the incoming url. It is probably best to sort the mounts by least specific prior to matching. Least specific in this case would be determined by the number of slashes in the spec.path. In the above example, the trailing slash is removed from all paths, so the first mount actually becomes "" and the second is "/test2".
The text was updated successfully, but these errors were encountered: