Page MenuHomePhabricator

D7330.id24953.diff
No OneTemporary

D7330.id24953.diff

diff --git a/keyserver/src/responders/website-responders.js b/keyserver/src/responders/website-responders.js
--- a/keyserver/src/responders/website-responders.js
+++ b/keyserver/src/responders/website-responders.js
@@ -449,7 +449,7 @@
const inviteSecretRegex = /^[a-z0-9]+$/i;
-function inviteResponder(req: $Request, res: $Response) {
+async function inviteResponder(req: $Request, res: $Response): Promise<void> {
const { secret } = req.params;
const userAgent = req.get('User-Agent');
const detectionResult = detectBrowser(userAgent);
@@ -465,12 +465,14 @@
res.end();
return;
}
+ const fontsURL = await getFontsURL();
res.end(html`
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Comm</title>
+ <link rel="stylesheet" type="text/css" href="/${fontsURL}" />
<style>
* {
-webkit-font-smoothing: antialiased;
@@ -526,6 +528,7 @@
font-size: 3.6rem;
line-height: 1.5;
font-weight: 500;
+ font-family: 'IBM Plex Sans', sans-serif;
}
p {

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 9:21 PM (21 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2688657
Default Alt Text
D7330.id24953.diff (1 KB)

Event Timeline