Compare commits

...

2 commits

Author SHA1 Message Date
Adam
2f93f1dcc3 profile 2024-07-23 23:05:27 -04:00
Adam
213a5f4944 nitpick 2024-07-23 22:57:16 -04:00
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.client]
[profile.release]
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"