Skip to content

HAMUR_W2023: defineServer fetch never calls a stage the app configures

defineServer fetch never calls a stage the app configures. Warning HAMUR_W2023 belongs to hamur, server (2001 – 2999).

Message

text
HAMUR_W2023 defineServer fetch never calls <stage>(); <what the stage does is ignored>

Cause

defineServer's fetch takes control of the app and does not call a stage the app configures, such as routeRules() or pages(), so the stage does nothing.

Fix

Call the stage from fetch, or remove what configures it.