"Update":\
This commit is contained in:
parent
1918896996
commit
f39a34a9eb
|
|
@ -1,5 +1,7 @@
|
|||
# lwa_simple_server
|
||||
|
||||
[](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).
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue