Compare commits

..

No commits in common. "2f93f1dcc3bfbafa81ec96747232e6448e6f906d" and "bba515cd1dc19c4ca403a4e626a8a15f5e84ca62" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ default-members = ["server", "lib"]
[workspace.dependencies]
lib = { path = "./lib" }
[profile.release]
[profile.release.client]
opt-level = 'z'
lto = true
codegen-units = 1

View file

@ -111,9 +111,9 @@ pub fn Websocket() -> impl IntoView {
<div class="w-auto">
<hr/>
<h2 class="p-1 text-2xl">Server Info:</h2>
<p class="p-1">"Connection Status: " {status}</p>
<p class="p-1">"Users Online: " {online_users}</p>
<p class="p-1">"Active Games: " {active_games}</p>
<p class="p-1">"Connection Status: " {status}</p>
<div class="p-1">
<button on:click=open_connection disabled=connected>
"Connect"