diff --git a/src/cli/presence-server.ts b/src/cli/presence-server.ts index 37d23fc..897485f 100644 --- a/src/cli/presence-server.ts +++ b/src/cli/presence-server.ts @@ -1168,6 +1168,10 @@ class Server extends HttpServer { throw err; } + } else if (req_url.searchParams.get('fallback-prevent-navigation') === '1') { + res.statusCode = 204; + res.end(); + return; } else { throw new ResponseError(404, 'not_found', 'No active title'); } diff --git a/src/cli/util/presence-embed.ts b/src/cli/util/presence-embed.ts index 9943d1e..3c4dd3c 100644 --- a/src/cli/util/presence-embed.ts +++ b/src/cli/util/presence-embed.ts @@ -190,7 +190,7 @@ function renderUserTitleEmbedPartialSvg( - Playing + Online ${game.name} ` + (description ? htmlentities`