fix(services): restrict GET /uploads/messages/:file to authorized users
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import dotenv from 'dotenv'
|
||||
import nodemailer from 'nodemailer'
|
||||
import SMTPTransport from 'nodemailer/lib/smtp-transport'
|
||||
import type SMTPTransport from 'nodemailer/lib/smtp-transport.js'
|
||||
|
||||
dotenv.config()
|
||||
const EMAIL_PORT = parseInt(process.env.EMAIL_PORT ?? '465', 10)
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { parseStringNullish } from '../parseStringNullish'
|
||||
import { parseStringNullish } from '../parseStringNullish.js'
|
||||
|
||||
const defaultString = 'defaultString'
|
||||
|
||||
|
Reference in New Issue
Block a user