From 3c1a71b3746cc0328b103e29845ea302634dd5b2 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 9 Feb 2015 18:08:39 -0300 Subject: [PATCH] Quito de README el aviso de no implementado MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ya implementé location para los redirects --- README.md | 7 ++++--- package.json | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8246608..e4e29ef 100644 --- a/README.md +++ b/README.md @@ -86,8 +86,6 @@ app.use(kill9({statusKilled:301, location:'other_site.kom'})); The location for a redirect. This is mandatory if statusKilled between 300 and 303. -**Not implemented yet** - #### messageKilled *text default "kill -9 success"* The message to display in successful kills. @@ -99,6 +97,10 @@ app.use(kill9({messageKilled: "I'll be back"})); The status sent when the pid doesn't match. +#### locationBad *url* + +The location for a redirect. This is mandatory if statusKilled between 300 and 303. + #### messageBad *text default "kill -9 unknown"* The message to display when when the pid doesn't match. @@ -133,7 +135,6 @@ test_app.use( + **This is not secure in production servers. Use it only in developer servers**. Kill-9 lacks of password or validate user or any way for confirm legal use. + Actually options.pid can be a text, buy I don't know if this will change in the future. - + location option not implemented yet ## License diff --git a/package.json b/package.json index 23bb96b..b4a075f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "kill-9", "description": "A way for kill node server from client navigator", - "version": "0.2.0", + "version": "0.2.1", "author": "Emilio Platzer ", "license": "GPL-2.0", "repository": "codenautas/kill-9",