skip to Main Content

how to set "connect-redis" in typescript

Now im following the Fullstack React GraphQL TypeScript Tutorial I get trouble in connectRedis with express-session;;; import connectRedis from "connect-redis"; import session from "express-session"; ... const RedisStore = connectRedis(session); [ERROR] error TS2345: Argument of type 'typeof session' is not assignable…

VIEW QUESTION

Running multiple express apps through nginx showing port already in use

Here's my nginx file: server { server_name domain.net www.domain.net; location / { proxy_set_header X-Real-IP $remote_addr; proxy_pass http://localhost:3000; } listen 443 ssl; # managed by Certbot ssl_certificate /etc/letsencrypt/live/domain.net/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/domain.net/privkey.pem; # managed by Certbot include /etc/letsencrypt/options-ssl-nginx.conf; #…

VIEW QUESTION
Back To Top
Search