@@ -2,5 +2,6 @@
return [
'authUrl' => env('AUTH_URL'),
+ 'adminPortalUrl' => env('ADMIN_PORTAL_URL', 'https://fe.scholar.securecpu.com'),
'backendUrl' => env('BACKEND_URL','https://scholar.securecpu.com')
];
@@ -113,7 +113,7 @@
@if($pro->pro_type == 'ADMIN')
<div class="ml-1 d-inline-block text-secondary">|</div>
- <a native target="_top" class="small text-white ml-1" href="{{env('ADMIN_PORTAL_URL', 'https://fe.scholar.securecpu.com')}}/pro_log_in_with_session_key/{{$performer->session_key}}" title="">
+ <a native target="_top" class="small text-white ml-1" href="{{config('stag.adminPortalUrl')}}/pro_log_in_with_session_key/{{$performer->session_key}}" title="">
Admin
</a>
@endif