mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-12-23 16:59:48 +01:00
restructure scm-ui and use ui-components and ui-types
This commit is contained in:
6
scm-ui-components/packages/ui-components/src/urls.js
Normal file
6
scm-ui-components/packages/ui-components/src/urls.js
Normal file
@@ -0,0 +1,6 @@
|
||||
// @flow
|
||||
export const contextPath = window.ctxPath || "";
|
||||
|
||||
export function withContextPath(path: string) {
|
||||
return contextPath + path;
|
||||
}
|
||||
Reference in New Issue
Block a user