Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

Commit 219923c

Browse files
authored
Fix admin panel url in seeding (#1038)
1 parent 0cb2106 commit 219923c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

apps/ewallet_db/priv/repo/reporters/seeds.exs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ defmodule EWalletDB.Repo.Reporters.SeedsReporter do
1717

1818
def run(writer, args) do
1919
base_url = Config.get("base_url", "https://example.com")
20-
frontend_url = base_url <> "/admin"
20+
admin_panel_url = base_url <> "/admin"
21+
2122
admin_api_url = base_url <> "/api/admin"
2223
admin_api_swagger_ui_url = base_url <> "/api/admin/docs"
2324

@@ -35,7 +36,7 @@ defmodule EWalletDB.Repo.Reporters.SeedsReporter do
3536
3637
To start using the Admin Panel, login with the following credentials:
3738
38-
- Login URL : `#{frontend_url}/admin`
39+
- Login URL : `#{admin_panel_url}`
3940
- Email : `#{admin_email}`
4041
- Password : `#{admin_password}`
4142

0 commit comments

Comments
 (0)