Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

525 B
Raw Blame
import {
  type ApplicationConfig,
  provideZonelessChangeDetection,
} from "@angular/core";
import { provideRouter } from "@angular/router";
import { defineMetabaseAuthConfig } from "@metabase/embedding-sdk-react";

import { routes } from "./app.routes";

export const appConfig: ApplicationConfig = {
  providers: [provideZonelessChangeDetection(), provideRouter(routes)],
};

export const metabaseProviderAuthConfig = defineMetabaseAuthConfig({
  metabaseInstanceUrl: `http://localhost:${process.env.NG_APP_MB_PORT}`,
});