mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
chore(deprecations): clean out some warnings
This commit is contained in:
@@ -414,14 +414,14 @@ li {
|
||||
.donate {
|
||||
align-items: flex-end;
|
||||
display: flex;
|
||||
justify-content: start;
|
||||
justify-content: flex-start;
|
||||
grid-area: donate;
|
||||
padding-top: 12px;
|
||||
}
|
||||
.donate-text {
|
||||
grid-area: donate-text;
|
||||
font-size: 0.75rem;
|
||||
font-color: $gray-100;
|
||||
color: $gray-100;
|
||||
line-height: 1.33;
|
||||
display: flex;
|
||||
flex-shrink: 1;
|
||||
@@ -433,7 +433,7 @@ li {
|
||||
.social {
|
||||
align-items: flex-start;
|
||||
display: flex;
|
||||
justify-content: start;
|
||||
justify-content: flex-start;
|
||||
grid-area: social;
|
||||
padding-top: 12px;
|
||||
}
|
||||
@@ -453,7 +453,7 @@ li {
|
||||
.privacy-terms {
|
||||
grid-area: privacy-terms;
|
||||
display: flex;
|
||||
justify-content: end;
|
||||
justify-content: flex-end;
|
||||
line-height: 1.71;
|
||||
}
|
||||
.terms {
|
||||
@@ -529,8 +529,8 @@ h3 {
|
||||
|
||||
.terms {
|
||||
padding-left: 16px;
|
||||
display:flex;
|
||||
justify-content: end;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.desktop {
|
||||
|
||||
@@ -23,15 +23,14 @@ export function getDevelopmentConnectionUrl (originalConnectionUrl) {
|
||||
}
|
||||
|
||||
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 = {
|
||||
useNewUrlParser: true,
|
||||
useUnifiedTopology: true,
|
||||
};
|
||||
|
||||
return !IS_PROD ? commonOptions : {
|
||||
// See https://mongoosejs.com/docs/connections.html#keepAlive
|
||||
keepAlive: true,
|
||||
keepAliveInitialDelay: 300000,
|
||||
...commonOptions,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user