File tree 2 files changed +5
-1
lines changed
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
55
55
56
56
COPY --from=backend /app/build /app/build
57
57
58
- COPY --from=backend /app/src/utils/templates /app/build/templates
58
+ COPY --from=backend /app/src/utils/templates /app/build/utils/ templates
59
59
60
60
EXPOSE 3002
61
61
Original file line number Diff line number Diff line change 1
1
import * as fs from 'fs'
2
2
import * as path from 'path'
3
+ import { fileURLToPath } from 'node:url'
4
+ import { dirname } from 'node:path'
3
5
import nodemailer from 'nodemailer'
4
6
import type { MailConfig } from '../storage/model'
5
7
import { getCacheConfig } from '../storage/config'
6
8
9
+ const __dirname = dirname ( fileURLToPath ( import . meta. url ) )
10
+
7
11
export async function sendVerifyMail ( toMail : string , verifyUrl : string ) {
8
12
const config = ( await getCacheConfig ( ) )
9
13
You can’t perform that action at this time.
0 commit comments