mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-06 18:21:25 +03:00
feat(docker): add non-root user, labels, and healthcheck (closes #433)
Now works with Pterodactyl.
This commit is contained in:
6
src/routes/status.js
Normal file
6
src/routes/status.js
Normal file
@@ -0,0 +1,6 @@
|
||||
module.exports.get = () => ({
|
||||
handler: async (req, res) => {
|
||||
const { status } = res.context.config.client.ws;
|
||||
res.code(status === 0 ? 200 : 425).send(status);
|
||||
},
|
||||
});
|
Reference in New Issue
Block a user