fix(core): update
This commit is contained in:
parent
dbb62a819a
commit
ea9b67a328
@ -2,6 +2,6 @@ import * as plugins from './smarturl.plugins';
|
||||
|
||||
export class Smarturl {
|
||||
public parseUrl(urlArg: string) {
|
||||
return plugins.url.parse(urlArg);
|
||||
return new plugins.url.URL(urlArg);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user