File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ COPY --from=frontend /app/dist /app/public
5555
5656COPY --from=backend /app/build /app/build
5757
58- COPY --from=backend /app/src/utils/templates /app/build/templates
58+ COPY --from=backend /app/src/utils/templates /app/build/utils/ templates
5959
6060EXPOSE 3002
6161
Original file line number Diff line number Diff line change 11import * as fs from 'fs'
22import * as path from 'path'
3+ import { fileURLToPath } from 'node:url'
4+ import { dirname } from 'node:path'
35import nodemailer from 'nodemailer'
46import type { MailConfig } from '../storage/model'
57import { getCacheConfig } from '../storage/config'
68
9+ const __dirname = dirname ( fileURLToPath ( import . meta. url ) )
10+
711export async function sendVerifyMail ( toMail : string , verifyUrl : string ) {
812 const config = ( await getCacheConfig ( ) )
913
You can’t perform that action at this time.
0 commit comments