Commit cd1443d0 authored by lee_mingzhu's avatar lee_mingzhu

change something

parent 6f8bae5e
......@@ -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