FastRoute rejected /api/texts/all because the previously
declared variable route /api/texts/{textId} would shadow it,
crashing the app on boot. move the admin all-texts endpoint
to /api/admin/texts to clear the conflict; admin texts.js
follows the new URL.
|
||
|---|---|---|
| .. | ||
| auth.js | ||
| home.js | ||
| text.js | ||
| texts.js | ||
| today.js | ||
| userTexts.js | ||