]> jfr.im git - uguu.git/commitdiff
Fixing 2 regressions from the initial pull request
authorPierre-Alain Bandinelli <redacted>
Sun, 15 May 2016 13:54:44 +0000 (15:54 +0200)
committerPierre-Alain Bandinelli <redacted>
Sun, 15 May 2016 13:54:44 +0000 (15:54 +0200)
README.md
rain/template/info.html

index b859095aefeb460f7ab80b537c63044d59f11364..c83ce950013a348527ad70eaef9b1dc6958a096a 100644 (file)
--- a/README.md
+++ b/README.md
 
         Alias "/files" "/var/www/Uguu/public/files/"
         <Directory /var/www/Uguu/public/files/>
-               <Files *>
-                        SetHandler default-handler
-                </Files>
-                AllowOverride None
-                Options -Indexes
-                Require all granted
+                       <Files *>
+              SetHandler default-handler
+              </Files>
+              AllowOverride None
+              Options -Indexes
+              Require all granted
         </Directory>
 
 </VirtualHost>
index 99f8c9405f208741cef53030ab2260070e9eec49..ee1d480820846dfec27c3a9ca320cbc67241c6fc 100644 (file)
@@ -11,8 +11,8 @@
                     <p>ShareX: <a href="https://getsharex.com">https://getsharex.com</a></p>
                     <span class="card-title">API</span>
                     <p>To upload using curl or make a tool you can post using:<br />
-                        <code>curl -i -F name=test.jpg -F file=@localfile.jpg https://uguu.se/api.php?d=upload</code> (HTML Response)<br />
-                        <code>curl -i -F name=test.jpg -F file=@localfile.jpg https://uguu.se/api.php?d=upload-tool</code> (Plain text Response)</p>
+                        <code>curl -i -F name=test.jpg -F file=@localfile.jpg {$url_filename}/api.php?d=upload</code> (HTML Response)<br />
+                        <code>curl -i -F name=test.jpg -F file=@localfile.jpg {$url_filename}/api.php?d=upload-tool</code> (Plain text Response)</p>
                 </div>
             </div>
         </div>