ghorsington hace 4 años
padre
commit
d13464cf74
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      web/src/server.ts

+ 1 - 1
web/src/server.ts

@@ -40,7 +40,7 @@ const createSapperServer = async (): Promise<Express> => {
             secret: key,
             secureProxy: !dev,
             name: "session",
-            secure: true,
+            secure: !dev,
         }),
         compression({ threshold: 0 }),
         sirv("static", { dev }),