0
0
mirror of https://github.com/yude-jp/yude.jp synced 2025-10-13 11:48:37 +09:00

Fix: loading implementation

This commit is contained in:
2021-09-26 12:52:37 +09:00
parent 7e7066317c
commit 2b6ca4354d
5 changed files with 29 additions and 45 deletions

View File

@@ -12,7 +12,7 @@ const RawPlayerName = async (req, res) => {
const response = await getName(uuid);
const data = await response.json();
if (response.status === 204 || response.status > 400) {
return res.status(200).send("読み込み中...");
return res.status(200).send("404");
}
const username = data.username;
return res.status(200).json({