We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9e65a8 commit f02ad93Copy full SHA for f02ad93
app/services/webapp/api/game-server-status.ts
@@ -79,7 +79,7 @@ export default async (webApp: WebApp): Promise<void> => {
79
} else {
80
thumbFilepath = mapThumbnail as string;
81
}
82
- const mapThumbnail64 = await imageToDataURL(thumbFilepath);
+ const mapThumbnail64 = thumbFilepath ? await imageToDataURL(thumbFilepath) : "";
83
// #endregion
84
85
const html = pug.renderFile(
0 commit comments