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 name | Path | Controller | Options |
|---|---|---|---|
mqtt_transport | /mqtt-transport | controller_mqtt_transport | [] |
mqtt_transport | /mqtt-transport/:zotonic_ticket/* | controller_mqtt_transport | [] |
service_worker | /cotonic-service-worker.js | controller_file | [{root,[lib]},{max_age,1},{path,"cotonic/cotonic-service-worker.js"}] |
keyserver_key | /keyserver-key.js | controller_keyserver_key | [] |