diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -43,7 +43,7 @@ app.conditional = function*(next) {
 app.subdomainrouter=function * (next){
 	let origin = this.request.get("origin").replace("http://","").split(":")[0].split(".");
     if(origin.length >=3 ){
-		let reqo = thi.request.get("origin").replace(origin[0]+".","");
+		let reqo = this.request.get("origin").replace(origin[0]+".","");
         if(app.routers[origin[0]]!==undefined && reqo===server.hostname){
 			let port = this.request.host.split(":")[1];
 			port = port ? ":"+port:"";
[ci skip] Fixed bug with production server