aboutsummaryrefslogtreecommitdiffstats
path: root/.functions
diff options
context:
space:
mode:
Diffstat (limited to '.functions')
-rw-r--r--.functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/.functions b/.functions
index f35f483..931bbf7 100644
--- a/.functions
+++ b/.functions
@@ -34,7 +34,7 @@ function server() {
function phpserver() {
local port="${1:-4000}"
local ip=$(ipconfig getifaddr en1)
- sleep 1 && open "http://${ip}:${port}" &
+ sleep 1 && open "http://${ip}:${port}/" &
php -S "${ip}:${port}"
}