fix: remove commited function

This commit is contained in:
Indexyz 2018-02-13 11:36:00 +08:00 committed by Micooz
parent 59902609ae
commit 6ba9db3ab0

@ -16,7 +16,6 @@ function loadFileSync(file) {
export class Config {
constructor(json){
// static init(json) {
const ctx = {};
const {protocol, hostname, port, query} = url.parse(json.service);
ctx.LOCAL_PROTOCOL = protocol.slice(0, -1);