work around path.Join removing trailing slashes from routes