Update server.R

Missing input$.
Merge pull request #1 from kristang/patch-1

Update server.R