Change custom request & response commands by two kapow subcommands

This commit is contained in:
Roberto Abdelkader Martínez Pérez
2019-09-05 07:55:55 +02:00
parent ec20e02534
commit 6c65064e12
10 changed files with 65 additions and 97 deletions
+1 -1
View File
@@ -17,4 +17,4 @@
#
kapow route add -X POST --entrypoint ./topdf '/editor/pdf'
kapow route add / -c 'response /headers/Content-Type text/html && response /body < pdfeditor.html'
kapow route add / -c 'kapow set /response/headers/Content-Type text/html && kapow set /response/body < pdfeditor.html'