mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 12:55:59 +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(""));
|