setPathUrlStrategy function

void setPathUrlStrategy()

Sets the URL strategy of your web app to using paths instead of a leading hash (#).

You can safely call this on all platforms, i.e. also when running on mobile or desktop. In that case, it will simply be a noop.

See also:

Implementation

void setPathUrlStrategy() {
  // Noop.
}