From 219923cd1286c2ab46a90ecf4df2cff6fe66712d Mon Sep 17 00:00:00 2001 From: Unnawut Leepaisalsuwanna <921194+unnawut@users.noreply.github.com> Date: Thu, 30 May 2019 20:13:50 +0700 Subject: [PATCH] Fix admin panel url in seeding (#1038) --- apps/ewallet_db/priv/repo/reporters/seeds.exs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/ewallet_db/priv/repo/reporters/seeds.exs b/apps/ewallet_db/priv/repo/reporters/seeds.exs index 7e296bad1..f5e4bf908 100644 --- a/apps/ewallet_db/priv/repo/reporters/seeds.exs +++ b/apps/ewallet_db/priv/repo/reporters/seeds.exs @@ -17,7 +17,8 @@ defmodule EWalletDB.Repo.Reporters.SeedsReporter do def run(writer, args) do base_url = Config.get("base_url", "https://example.com") - frontend_url = base_url <> "/admin" + admin_panel_url = base_url <> "/admin" + admin_api_url = base_url <> "/api/admin" admin_api_swagger_ui_url = base_url <> "/api/admin/docs" @@ -35,7 +36,7 @@ defmodule EWalletDB.Repo.Reporters.SeedsReporter do To start using the Admin Panel, login with the following credentials: - - Login URL : `#{frontend_url}/admin` + - Login URL : `#{admin_panel_url}` - Email : `#{admin_email}` - Password : `#{admin_password}`