Browse files

client: added static files

  • Loading branch information...
1 parent 373c66f commit 5f397464a9d1428afbeaf866f8db03d81afdd2ac @rauchg rauchg committed Dec 13, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 client/socket.io.js
View
1 client/socket.io.js

3 comments on commit 5f39746

@utan

In my test bed, (linux) doesn't redirect or parse this file.. instead is only plain text as you see here...
A workaround was to copy paste the content of soket.io-client/socket.io.js into this file.. and was able to use it in the browser like this:
src="/socket.io/socket.io.js"

@rlidwka

it's a symlink, and it will work if you have socket.io-client installed in ../node_modules

@utan

I have it installed, I had to install it manually because npm gave an error, had to install the old socket.io-client and when socket.io v1.0 installed , deleted old socket.io-client and manually installed version for socket.io v1.0..
"dependencies": {
"socket.io-client": "*"
},

then everything started worked but the client file that was supposed to be served.. was not..
so copy pasted the content into this commit file.

Please sign in to comment.