6 lines
138 B
Bash
Executable file
6 lines
138 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")"
|
|
HOST="${HOST:-0.0.0.0}"
|
|
PORT="${PORT:-8080}"
|
|
php -S ${HOST}:${PORT} router.php
|