Commit 960da8df authored by zhouqian's avatar zhouqian
parents a174a0d6 e2b3c376
......@@ -57,6 +57,6 @@ public interface IBaseController {
}
default String getProtocol() {
return StringUtils.startsWith(getRequest().getHeader("x-forwarded-proto"), "https") ? "https" : "http";
return StringUtils.startsWith(getRequest().getHeader("x-forwarded-proto"), "https") ? "https:" : "http:";
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment