Skip to content
Trilha

Error catalog

E_PAGE_AND_ROUTE

A folder has page.go and route.go

The folder answers both as a page and as an API, and the router cannot serve two answers for one URL.

Fix

Split the folder: the page in one, the API under an api/ branch — or move the write into the page's POST handler.