17 lines
434 B
TypeScript
17 lines
434 B
TypeScript
import { getNavigations, getNavigationsValue } from '@ijl/cli';
|
|
import pkg from '../../package.json';
|
|
|
|
const baseUrl = getNavigationsValue(`${(pkg as any).name}.main`);
|
|
const navs = getNavigations();
|
|
const makeUrl = url => url;
|
|
|
|
export const URLs = {
|
|
baseUrl,
|
|
auth: {
|
|
url: makeUrl(navs[`link.${(pkg as any).name}.auth`]),
|
|
},
|
|
account: {
|
|
url: makeUrl(navs[`link.${(pkg as any).name}.account`]),
|
|
}
|
|
};
|