Skip to content

HAMUR_W1194: A server route and a page share a path

A server route and a page share a path. Warning HAMUR_W1194 belongs to hamur, scan, build and dev (1001 – 1999).

Message

text
HAMUR_W1194 Server route <file> and page <file> share the path <path>: GET requests accepting text/html render the page

Cause

A server route and a page have the same path. A GET request that accepts text/html renders the page.

Fix

Change one path if you want the server route to answer browsers.