discourse/app/assets/javascripts/discourse-common/addon/helpers/get-url.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
215 B
JavaScript
Raw Normal View History

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(""));