Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3404695
D3446.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
D3446.diff
View Options
diff --git a/lib/utils/sanitization.js b/lib/utils/sanitization.js
--- a/lib/utils/sanitization.js
+++ b/lib/utils/sanitization.js
@@ -93,7 +93,7 @@
const keysWithStringsToBeScrambled = new Set(['text', 'robotext']);
// eg {"uri":"https://comm.app/1234/5678"}
-// => {"uri":"https://comm.app/images/background.png"}
+// => {"uri":"https://comm.app/images/placeholder.png"}
const keysWithImageURIsToBeReplaced = new Set([
'uri',
'localURI',
@@ -123,7 +123,7 @@
}
function placeholderImageURI(): string {
- return 'https://comm.app/images/background.png';
+ return 'https://comm.app/images/placeholder.png';
}
function scrambleText(str: string): string {
diff --git a/server/images/background@2x.png b/server/images/background@2x.png
deleted file mode 100644
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000
GIT binary patch
literal 0
Hc$@<O00001
literal 0
Hc$@<O00001
diff --git a/server/images/background.png b/server/images/placeholder.png
rename from server/images/background.png
rename to server/images/placeholder.png
diff --git a/web/splash/splash.css b/web/splash/splash.css
--- a/web/splash/splash.css
+++ b/web/splash/splash.css
@@ -1,8 +1,5 @@
div.headerContainer {
flex: 1 1 auto;
- background-image: url(../images/background.png);
- background-size: 3000px 2000px;
- background-attachment: fixed;
padding: 0 10px;
}
div.topContainer {
@@ -70,9 +67,6 @@
}
div.bottom {
margin-top: 728px;
- background-image: url(../images/background.png);
- background-size: 3000px 2000px;
- background-attachment: fixed;
min-height: 100%;
display: flex;
flex-direction: column;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 4, 12:34 PM (10 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2614258
Default Alt Text
D3446.diff (1 KB)
Attached To
Mode
D3446: [web] Remove `background.png` from `Splash` and rename to `placeholder.png`
Attached
Detach File
Event Timeline
Log In to Comment