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
...looking for a quick explanation. I understand it is meant to redirect to 404 if the url doesn't match some specific paths, but the syntax is confusing.
Particularly '/:url( ... )/* -- what is :url( )? It does not seem to be part of express, nor any standard regex syntax. I get that in the parens it is using the logical or |, but I still don't get :url, is that actually embedded in the path?
The text was updated successfully, but these errors were encountered:
this line
...looking for a quick explanation. I understand it is meant to redirect to 404 if the url doesn't match some specific paths, but the syntax is confusing.
Particularly
'/:url( ... )/*
-- what is:url( )
? It does not seem to be part of express, nor any standard regex syntax. I get that in the parens it is using the logical or|
, but I still don't get:url
, is that actually embedded in the path?The text was updated successfully, but these errors were encountered: