Change the variable assignment

`fn.route -> server.route` looks more intuitive
Merge pull request #1027 from booxood/master

Change the variable assignment