Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3507593
D7330.id24953.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D7330.id24953.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D7330: [keyserver] Use correct font for Comm title
Attached
Detach File
Event Timeline
Log In to Comment