aryabp
aryabp
RRailway
Created by aryabp on 7/17/2024 in #✋|help
express & socket.io ssl support issue
thanks for help
21 replies
RRailway
Created by aryabp on 7/17/2024 in #✋|help
express & socket.io ssl support issue
my bad
21 replies
RRailway
Created by aryabp on 7/17/2024 in #✋|help
express & socket.io ssl support issue
i only put cors is ws
21 replies
RRailway
Created by aryabp on 7/17/2024 in #✋|help
express & socket.io ssl support issue
i forget to put cors in http
21 replies
RRailway
Created by aryabp on 7/17/2024 in #✋|help
express & socket.io ssl support issue
it seems cors issue
21 replies
RRailway
Created by aryabp on 7/17/2024 in #✋|help
express & socket.io ssl support issue
{ errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 5432 }
21 replies
RRailway
Created by aryabp on 7/17/2024 in #✋|help
express & socket.io ssl support issue
right
21 replies
RRailway
Created by aryabp on 7/17/2024 in #✋|help
express & socket.io ssl support issue
it looks like this const express = require('express') const router = express.Router() const userController = require('../controller/userController') const Auth = require('../middleware/auth') router.post('/signup',userController.signup) router.post('/login',userController.login) router.post('/logout',Auth.verifyToken,userController.logout) router.post('/verify',Auth.verifyToken,userController.verify) router.post('/otp',userController.otp) router.post('/ubah',userController.ubah) router.post('/hapus',userController.hapus) router.post('/lupa',userController.lupa) router.get('/getcategory',userController.getcategory) router.get('/getproduct',userController.getproduct) router.post('/insertpesan',userController.insertpesan) router.post('/getpesan',userController.getpesan) module.exports = router
21 replies
RRailway
Created by aryabp on 7/17/2024 in #✋|help
express & socket.io ssl support issue
ok the trigger of https routes already found in console.log(), idk what's going on but i change the ver into legacy and then change the version into v2 again
21 replies
RRailway
Created by aryabp on 7/17/2024 in #✋|help
express & socket.io ssl support issue
ok i will add the static assets
21 replies
RRailway
Created by aryabp on 7/17/2024 in #✋|help
express & socket.io ssl support issue
i access the wss:// without port (only url that given by railway)
21 replies
RRailway
Created by aryabp on 7/17/2024 in #✋|help
express & socket.io ssl support issue
404 not found
21 replies