chore(deprecations): clean out some warnings

This commit is contained in:
Sabe Jones
2024-02-05 16:50:06 -06:00
parent 2ba74f1645
commit f74160c16a
2 changed files with 8 additions and 9 deletions

View File

@@ -414,14 +414,14 @@ li {
.donate { .donate {
align-items: flex-end; align-items: flex-end;
display: flex; display: flex;
justify-content: start; justify-content: flex-start;
grid-area: donate; grid-area: donate;
padding-top: 12px; padding-top: 12px;
} }
.donate-text { .donate-text {
grid-area: donate-text; grid-area: donate-text;
font-size: 0.75rem; font-size: 0.75rem;
font-color: $gray-100; color: $gray-100;
line-height: 1.33; line-height: 1.33;
display: flex; display: flex;
flex-shrink: 1; flex-shrink: 1;
@@ -433,7 +433,7 @@ li {
.social { .social {
align-items: flex-start; align-items: flex-start;
display: flex; display: flex;
justify-content: start; justify-content: flex-start;
grid-area: social; grid-area: social;
padding-top: 12px; padding-top: 12px;
} }
@@ -453,7 +453,7 @@ li {
.privacy-terms { .privacy-terms {
grid-area: privacy-terms; grid-area: privacy-terms;
display: flex; display: flex;
justify-content: end; justify-content: flex-end;
line-height: 1.71; line-height: 1.71;
} }
.terms { .terms {
@@ -529,8 +529,8 @@ h3 {
.terms { .terms {
padding-left: 16px; padding-left: 16px;
display:flex; display: flex;
justify-content: end; justify-content: flex-end;
} }
.desktop { .desktop {

View File

@@ -23,15 +23,14 @@ export function getDevelopmentConnectionUrl (originalConnectionUrl) {
} }
export function getDefaultConnectionOptions () { export function getDefaultConnectionOptions () {
// with keepAlive deprecated, we don't need a separate set of production options
// Keeping the structure here in case the distinction is useful later
const commonOptions = { const commonOptions = {
useNewUrlParser: true, useNewUrlParser: true,
useUnifiedTopology: true, useUnifiedTopology: true,
}; };
return !IS_PROD ? commonOptions : { return !IS_PROD ? commonOptions : {
// See https://mongoosejs.com/docs/connections.html#keepAlive
keepAlive: true,
keepAliveInitialDelay: 300000,
...commonOptions, ...commonOptions,
}; };
} }