소스 검색

Try fix cookies

ghorsington 4 년 전
부모
커밋
d24a31e6b2
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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,
         }),