mod_base dispatch rules (dispatch-cotonic)

URL dispatch rules defined by mod_base in apps/zotonic_mod_base/priv/dispatch/dispatch-cotonic.

This file defines the URL dispatch rules for mod_base. Rules are matched from top to bottom; the first matching rule handles the request.

Source: apps/zotonic_mod_base/priv/dispatch/dispatch-cotonic

This set is stored in the dispatch-cotonic dispatch file.

Dispatch namePathControllerOptions
mqtt_transport/mqtt-transportcontroller_mqtt_transport[]
mqtt_transport/mqtt-transport/:zotonic_ticket/*controller_mqtt_transport[]
service_worker/cotonic-service-worker.jscontroller_file[{root,[lib]},{max_age,1},{path,"cotonic/cotonic-service-worker.js"}]
keyserver_key/keyserver-key.jscontroller_keyserver_key[]

Edit on GitHub

Referred by

Dispatch rules

All dispatch rules

All the dispatch rules from all modules. For a background on dispatch rules, see The URL dispatch system.