summary refs log tree commit diff
path: root/api/src/routes/stop.ts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Updated stop.tsunknownPerson1152021-12-291-6/+7
| | | | | | updated stop.ts so it checks for user rights instead of the SYSTEM flag which can possibly cause some unnecessary complications when it comes to instance management *also has been tested with multiple tokens to be sure that this does NOT permit normal users to POST to the /stop API route **NOTE**: instance owners will have to re-run `npm run setup` for these changes to take effect
* Update api/src/routes/stop.tsunknownPerson1152021-12-251-7/+2
| | | Co-authored-by: Erkin Alp Güney <erkinalp9035@gmail.com>
* Create stop.ts (for /stop API route)unknownPerson1152021-12-251-0/+30
patched up the route and polished it note: THIS API IS ONLY FOR DEVELOPMENT PURPOSES