Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: deprecation


Warning
titleNot available in version 1.0+

Deprecated. The node pico engine from version 1.0 onwards does not provide the feature using a io.picolabs.rewrite ruleset installed in the root pico.

Oftentimes you will have a URL to access one of your picos and you will want to use that URL frequently and/or share it with others. In such cases you might prefer a shorter URL, and one which does not include the random-looking event channel identifier (ECI).

...

Notice that for events, the first part of the path in a shorter link can be chosen somewhat arbitrarily, because it becomes the EID in the (internally) rewritten longer link that actually is seen by the engine. In the case of queries, the first part of the path in the shorter link must exactly match the RID. In both cases, the first part of the path (immediately following the domain name and port (if present)) must match this regular expression: re#/[\/\w.-]*#, i.e. it must begin with a forward slash, followed by letters, digits, or the underscore, period, or hypen characters only.

...