mirror of
https://github.com/grafana/grafana.git
synced 2024-12-02 05:29:42 -06:00
7 lines
208 B
TypeScript
7 lines
208 B
TypeScript
import { BASE_PATH } from './constants';
|
|
import { AuthProviderInfo } from './types';
|
|
|
|
export function getProviderUrl(provider: AuthProviderInfo) {
|
|
return BASE_PATH + (provider.configPath || provider.id);
|
|
}
|