Browse Source

Try fix cookies

ghorsington 4 năm trước cách đây
mục cha
commit
d24a31e6b2
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      web/src/server.ts

+ 1 - 0
web/src/server.ts

@@ -38,6 +38,7 @@ const createSapperServer = async (): Promise<Express> => {
     app.use(
         session({
             secret: key,
+            secureProxy: true,
             name: "session",
             secure: true,
         }),