chore: eslint
This commit is contained in:
parent
6cb6eb503b
commit
7045e582c7
6 changed files with 43 additions and 21 deletions
|
|
@ -6,7 +6,7 @@ dotenv.config({ path: ".env" });
|
|||
let db_url = process.env.DATABASE_URL!;
|
||||
try {
|
||||
db_url = decodeURI(db_url);
|
||||
} catch (e) {
|
||||
} catch {
|
||||
console.warn("Failed to decode DATABASE_URL, using as is.");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue