Ir para o conteúdo
Trilha

Catálogo de erros

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.

Conserto

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