forked from gitbot/uguu
Fixing 2 regressions from the initial pull request
This commit is contained in:
parent
01552dad82
commit
bc308ac56b
12
README.md
12
README.md
@ -30,12 +30,12 @@
|
|||||||
|
|
||||||
Alias "/files" "/var/www/Uguu/public/files/"
|
Alias "/files" "/var/www/Uguu/public/files/"
|
||||||
<Directory /var/www/Uguu/public/files/>
|
<Directory /var/www/Uguu/public/files/>
|
||||||
<Files *>
|
<Files *>
|
||||||
SetHandler default-handler
|
SetHandler default-handler
|
||||||
</Files>
|
</Files>
|
||||||
AllowOverride None
|
AllowOverride None
|
||||||
Options -Indexes
|
Options -Indexes
|
||||||
Require all granted
|
Require all granted
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
<p>ShareX: <a href="https://getsharex.com">https://getsharex.com</a></p>
|
<p>ShareX: <a href="https://getsharex.com">https://getsharex.com</a></p>
|
||||||
<span class="card-title">API</span>
|
<span class="card-title">API</span>
|
||||||
<p>To upload using curl or make a tool you can post using:<br />
|
<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 {$url_filename}/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-tool</code> (Plain text Response)</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user