From bc308ac56b683f6b9c78c7a01ca113727d896fc9 Mon Sep 17 00:00:00 2001 From: Pierre-Alain Bandinelli Date: Sun, 15 May 2016 15:54:44 +0200 Subject: [PATCH] Fixing 2 regressions from the initial pull request --- README.md | 12 ++++++------ rain/template/info.html | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index b859095..c83ce95 100644 --- a/README.md +++ b/README.md @@ -30,12 +30,12 @@ Alias "/files" "/var/www/Uguu/public/files/" - - SetHandler default-handler - - AllowOverride None - Options -Indexes - Require all granted + + SetHandler default-handler + + AllowOverride None + Options -Indexes + Require all granted diff --git a/rain/template/info.html b/rain/template/info.html index 99f8c94..ee1d480 100644 --- a/rain/template/info.html +++ b/rain/template/info.html @@ -11,8 +11,8 @@

ShareX: https://getsharex.com

API

To upload using curl or make a tool you can post using:
- curl -i -F name=test.jpg -F file=@localfile.jpg https://uguu.se/api.php?d=upload (HTML Response)
- curl -i -F name=test.jpg -F file=@localfile.jpg https://uguu.se/api.php?d=upload-tool (Plain text Response)

+ curl -i -F name=test.jpg -F file=@localfile.jpg {$url_filename}/api.php?d=upload (HTML Response)
+ curl -i -F name=test.jpg -F file=@localfile.jpg {$url_filename}/api.php?d=upload-tool (Plain text Response)