'Remix - How to add websocket to my project

I started a indie stack project on remix.run and I would like to add websocket.io. I would like to deploy in the future to Netlify. Could you please help me, I am new and do not really know what to do.

I found that it is possible to start a indie stack project with the "express" option but I do not know if it will be compatible with netlify.



Solution 1:[1]

Inside apache2.conf i use

<Directory /var/www/html/config/>
        Options +Indexes
        IndexOptions +FancyIndexing
        Order deny,allow
        Deny from all
        Allow from 127.0.0.1

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Elias Krapf