Browse Source

Fix assigning custom domain

poeti8 6 năm trước cách đây
mục cha
commit
6a81d3ac8b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      server/db/url.js

+ 1 - 1
server/db/url.js

@@ -230,7 +230,7 @@ exports.setCustomDomain = ({ user, customDomain, homepage, useHttps }) =>
             customDomain,
             homepage: homepage || '',
             email: user.email,
-            useHttps,
+            useHttps: !!useHttps,
           }
         )
       )