Skip to content
Discussion options

You must be logged in to vote

Sorry, I am not sure as to what i did to make it work,

I changed the builder into this

    let (layer, io) = SocketIo::builder()
        .req_path(settings.server.path.clone())
        .with_state(Arc::clone(&app_state))
        .with_adapter::<RedisAdapter<_>>(adapter)
        .build_layer();

And it seems to pick up from the new path. I must have made a mistake somewhere else.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Totodore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant