Fixed wrong /request path.
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ else
|
|||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
response /status 200
|
response /status 200
|
||||||
response /header/Content-Type "$(python -m mimetypes "$BASE/$REAL" | awk '/type:/ {print $2; exit 0}; !/type:/ {print "application/octet-stream"}')"
|
response /headers/Content-Type "$(python -m mimetypes "$BASE/$REAL" | awk '/type:/ {print $2; exit 0}; !/type:/ {print "application/octet-stream"}')"
|
||||||
response /body < "$BASE/$REAL"
|
response /body < "$BASE/$REAL"
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user