mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2026-04-25 23:15:51 +03:00
[GH-ISSUE #37] Make an option to be API only #30
Labels
No labels
Feature request
Feature request
bug
cant reproduce
enhancement
help wanted
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pictshare#30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Aug 29, 2017).
Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/37
Hello, this is an excellent application, and I am going to start to use it as my private Image hosting API.
I miss the option to hide all the interfaces, and to be API only.
Is there a way to do it? If not, I leave here the suggestion.
@geek-at commented on GitHub (Aug 29, 2017):
well you can do it with the
UPLOAD_FORM_LOCATIONin the config. you can specify the url where the interface will be shown. if you change that to something nobody will know like "define('UPLOAD_FORM_LOCATION', 'asddasoqeiasjdokasdlkds/asdasdasdasd/');" nobody will ever find it ;D@ghost commented on GitHub (Aug 30, 2017):
I didn't thought on that :P Thanks, that's a really good one.
@ghost commented on GitHub (Aug 30, 2017):
I am using Docker, how do I do it? I tried using an ENV variable
UPLOAD_FORM_LOCATIONand theUPLOADPATH, but both didn't work