diff --git a/_posts/2020-05-01-nginx-socket-io-projects.md b/_posts/2020-05-01-nginx-socket-io-projects.md index fe446ec..71473da 100644 --- a/_posts/2020-05-01-nginx-socket-io-projects.md +++ b/_posts/2020-05-01-nginx-socket-io-projects.md @@ -48,4 +48,13 @@ For now, the project is alive!!! Happy hacking! +*P.S. I forgot to mention I also symbolically linked the `socket.io.js` file (that node is supposed to serve automatically) to the static client dir. +For some reson the node instance would not serve this file without that.* +
+$ pwd
+/home/user/ttrpg.co/client
+$ ln -s ../server/node_modules/socket.io-client/dist/socket.io.js .
+
+ +*Happy hacking 2.0!*