mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-13 20:52:45 +08:00
refactor widget.js, return http 200 when server is offline
This commit is contained in:
@@ -18,7 +18,7 @@ export default async function minecraftProxyHandler(req, res) {
|
||||
});
|
||||
} catch (e) {
|
||||
logger.warn(e)
|
||||
res.status(500).send({
|
||||
res.status(200).send({
|
||||
version: undefined,
|
||||
online: false,
|
||||
players: undefined
|
||||
|
||||
Reference in New Issue
Block a user