diff options
| author | Adam Soltys <[email protected]> | 2024-01-31 22:47:36 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-01-31 22:47:36 +0000 |
| commit | 5a7d1ec10baf4ddcf42ee607805153cf8d3001d2 (patch) | |
| tree | 4e7dab7c51be4bbae57fac377a48ae5c0827591b | |
| parent | 38ea39b1fc7a68fa2cd71ce209f564d816549b2b (diff) | |
| download | coinos-server-5a7d1ec10baf4ddcf42ee607805153cf8d3001d2.tar.gz coinos-server-5a7d1ec10baf4ddcf42ee607805153cf8d3001d2.zip | |
hardcode url
| -rw-r--r-- | lib/mail.js | 1 | ||||
| -rw-r--r-- | templates/payments/received.html | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/lib/mail.js b/lib/mail.js index 368ad417..16b3dbbf 100644 --- a/lib/mail.js +++ b/lib/mail.js @@ -23,7 +23,6 @@ export let mail = async (user, subject, template, params) => { let html = handlebars.compile(source)(params); let client = new SESClient({ region: "us-east-2" }); - params.URL = process.env.URL; await client.send( new SendEmailCommand({ diff --git a/templates/payments/received.html b/templates/payments/received.html index 937e093c..dc98006d 100644 --- a/templates/payments/received.html +++ b/templates/payments/received.html @@ -33,9 +33,7 @@ {{/if}} <a href="{{payment.link}}"> - <img src="{{URL}}/images/logo.webp" style="width: 200px; margin: 50px;"/> + <img src="https://coinos.io/images/logo.webp" style="width: 200px; margin: 50px;"/> </a> - - <a href="{{URL}}/unsubscribe">Unsubscribe</a> </body> </html> |
