2018-11-07 07:26:52 +08:00
|
|
|
import { registerUnbound } from "discourse-common/lib/helpers";
|
|
|
|
import getUrl from "discourse-common/lib/get-url";
|
|
|
|
|
|
|
|
registerUnbound("get-url", value => getUrl(value));
|
2020-06-05 21:53:43 +08:00
|
|
|
registerUnbound("base-url", () => getUrl(""));
|