Skip to content

Commit

Permalink
Merge branch 'beyondcode:master' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
SiebeVE authored Apr 23, 2024
2 parents 4c1f69d + 5157e76 commit 522084e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Client/Http/Controllers/DashboardController.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function handle(Request $request, ConnectionInterface $httpConnection)
$httpConnection->send(respond_html($this->getView($httpConnection, 'client.dashboard', [
'user' => Client::$user,
'subdomains' => Client::$subdomains,
'max_logs'=> config()->get('expose.max_logged_requests', 10),
'max_logs' => config()->get('expose.max_logged_requests', 10),
])));
}
}
2 changes: 1 addition & 1 deletion resources/views/client/dashboard.twig
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@
</div>
<div v-else class="flex-col bg-white dark:bg-gray-800 shadow overflow-hidden sm:rounded-lg justify-center items-center flex py-4">
<h1 class="text-lg">Waiting for connections...</h1>
<img src="https://chart.googleapis.com/chart?chs=500x500&cht=qr&chl={{ subdomains[0] ?? '' | url_encode }}&choe=UTF-8&chf=bg,s,FFFFFF00" />
<img src="https://image-charts.com/chart?chs=500x500&cht=qr&chl={{ subdomains[0] ?? '' | url_encode }}&choe=UTF-8&chf=bg,s,FFFFFF00" />
<a class="text-sm" href="{{ subdomains[0] }}" target="_blank">{{ subdomains[0] }}</a>
</div>
</div>
Expand Down

0 comments on commit 522084e

Please sign in to comment.