pathRequiresRewrite method

bool pathRequiresRewrite (
  1. String path
)

True if path is local or relative

Implementation

bool pathRequiresRewrite(String path) =>
    rewriteUrls == RewriteUrlsConstants.local
        ? isPathLocalRelative(path)
        : isPathRelative(path);