What issue are you experiencing?
I'm running strapi and my frontend in a docker container.
I'm using nginx as reverse proxy.
Strapi url: http://localhost/strapi
frontend url: http:/localhost/frontend
in my client I just setup my socket like:
import { io } from "socket.io-client"
export const socket = io(http://localhost/strapi)
strapi/config/plugins.ts:
export default ({ env }) => ({
io: {
enabled: true,
config: {
// This will listen for all supported events on the article content type
contentTypes: ["api::session.session", "api::player.player"],
},
},
});

Steps To Reproduce
No response
What version of the plugin are you using?
2.0.4
What strapi version are you using?
4.15.5
What issue are you experiencing?
I'm running strapi and my frontend in a docker container.
I'm using nginx as reverse proxy.
Strapi url: http://localhost/strapi
frontend url: http:/localhost/frontend
in my client I just setup my socket like:
strapi/config/plugins.ts:
Steps To Reproduce
No response
What version of the plugin are you using?
2.0.4
What strapi version are you using?
4.15.5