diff --git a/config/default.ts b/config/default.ts index 9d90b96..46e389d 100644 --- a/config/default.ts +++ b/config/default.ts @@ -23,4 +23,14 @@ export default Object.assign(require("wms-core/config/default").default, { default_file_ttl: 30, // 30 seconds max_upload_size: 1, // MB approval_mode: false, + mail: { + host: "127.0.0.1", + port: "1025", + secure: false, + username: "", + password: "", + allow_invalid_tls: true, + from: 'contact@ily.li', + from_name: 'ily.li', + }, }); \ No newline at end of file diff --git a/config/production.ts b/config/production.ts index fa2fb94..a820f21 100644 --- a/config/production.ts +++ b/config/production.ts @@ -17,4 +17,8 @@ export default Object.assign(require("wms-core/config/production").default, { default_file_ttl: 30 * 24 * 3600, // 30 days max_upload_size: 8192, // MB approval_mode: true, + mail: { + secure: true, + allow_invalid_tls: false + }, }); \ No newline at end of file diff --git a/package.json b/package.json index 8f071d1..3ec58d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ily.li", - "version": "0.3.0", + "version": "0.3.1", "description": "Self-hosted file pusher", "repository": "git@gitlab.com:ArisuOngaku/ily.li.git", "author": "Alice Gaudon ", diff --git a/views/auth.njk b/views/auth.njk index 3a6c7d3..3e4e380 100644 --- a/views/auth.njk +++ b/views/auth.njk @@ -2,7 +2,7 @@ {% import 'macros.njk' as macros %} {% set title = 'Authentication / Registration' %} -{% set decription = 'Join Watch My Stream and power up your streams!' %} +{% set decription = 'Join ' + app.name + ' and share your files!' %} {% set h1 = 'Authentication and registration' %} {% block body %} diff --git a/yarn.lock b/yarn.lock index e1b3976..ca903e7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9825,9 +9825,9 @@ widest-line@^3.1.0: string-width "^4.0.0" wms-core@^0: - version "0.10.16" - resolved "https://registry.toot.party/wms-core/-/wms-core-0.10.16.tgz#55dc66d6443b2cab82f0bfb7db9673d4ab07c45e" - integrity sha512-NY4PKzcf9rEWmYznTR9qI+CofW7Bfut+djCBQ/GBVzEI/tW9RAudtLhfYrYvHJYPOyLWMdoP7KNxROyt37TzLg== + version "0.10.18" + resolved "https://registry.toot.party/wms-core/-/wms-core-0.10.18.tgz#450bf5be19f1a5872230199b04353169e3cfe2aa" + integrity sha512-x4+FgnfovJHLpAKYKmh5+rM9Zovklya8mZC+KnrQ65y2v3vw3i9hDRjXeums5OvyQsBA7X4OObEffTbClLNCTQ== dependencies: "@types/express" "^4.17.6" "@types/express-session" "^1.17.0"