"Update":\

This commit is contained in:
Piotr Siuszko 2023-08-29 20:07:08 +02:00
parent 1918896996
commit f39a34a9eb
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,7 @@
# lwa_simple_server
[![build](https://github.com/Leinnan/lwa_simple_server/actions/workflows/rust.yml/badge.svg)](https://github.com/Leinnan/lwa_simple_server/actions/workflows/rust.yml)
Simple server made with hosting locally webgl games in mind.
It makes testing Unity webgl games easy, even allows connecting with different domains(less CORS issues during tests).

View File

@ -17,7 +17,8 @@ async fn main() -> std::io::Result<()> {
// `openssl req -x509 -newkey rsa:4096 -nodes -keyout key.pem -out cert.pem -days 365 -subj '/CN=localhost'`
println!(
"Starting server on address: {} with hosted folder: {} wit SSL: {}",
"Starting server on address: {}://{} with hosted folder: {} [SSL={}]",
if app_args.ssl{ "https" } else {"http"},
app_args.get_address(),
path,
app_args.ssl