mirror of
https://github.com/discourse/discourse.git
synced 2024-12-04 06:53:46 +08:00
6 lines
215 B
JavaScript
6 lines
215 B
JavaScript
import { registerUnbound } from "discourse-common/lib/helpers";
|
|
import getUrl from "discourse-common/lib/get-url";
|
|
|
|
registerUnbound("get-url", value => getUrl(value));
|
|
registerUnbound("base-url", () => getUrl(""));
|