Some checks failed
Deploy to Server (Docker) / deploy (push) Failing after 9s
Reviewed-on: https://git.gocommunity.ru/walleri1/go_winter_work_2025/pulls/7 Co-authored-by: Vitaliy Turov <walleri1@yandex.ru> Co-committed-by: Vitaliy Turov <walleri1@yandex.ru>
8 lines
140 B
Bash
Executable File
8 lines
140 B
Bash
Executable File
#!/bin/bash
|
|
|
|
while true; do {
|
|
echo -ne "HTTP/1.0 200 OK\r\n
|
|
Content-Length: \$(wc -c <index.htm)\r\n\r\n";
|
|
} | nc -l -p 8080 ;
|
|
done
|