From 772dd62a5575ab2788177ab41296432a619702d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rn=20=C3=85ne?= Date: Mon, 29 Aug 2016 18:23:05 +0200 Subject: [PATCH] Make development script only listen on localhost. --- dev.bat | 2 +- dev.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev.bat b/dev.bat index d1d49fa..6d295e1 100644 --- a/dev.bat +++ b/dev.bat @@ -6,4 +6,4 @@ IF EXIST "pvv.sqlite" goto sqlite_end sqlite3 pvv.sqlite < pvv.sql :sqlite_end -php -S [::]:1080 -t www/ -c php.ini \ No newline at end of file +php -S [::1]:1080 -t www/ -c php.ini diff --git a/dev.sh b/dev.sh index e213148..f8f4506 100755 --- a/dev.sh +++ b/dev.sh @@ -1,4 +1,4 @@ #!/bin/sh which sqlite3 > /dev/null 2>&1 && test \! -e pvv.sqlite && sqlite3 pvv.sqlite < pvv.sql test \! -e sql_config.php && cp sql_config_example.php sql_config.php -php -S [::]:1080 -t www/ +php -S [::1]:1080 -t www/