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

Commit

Permalink
Fix admin panel url in seeding (#1038)
Browse files Browse the repository at this point in the history
  • Loading branch information
unnawut authored May 30, 2019
1 parent 0cb2106 commit 219923c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/ewallet_db/priv/repo/reporters/seeds.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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}`
Expand Down

0 comments on commit 219923c

Please sign in to comment.