[GH-ISSUE #37] Make an option to be API only #30

Closed
opened 2026-02-25 23:40:27 +03:00 by kerem · 3 comments
Owner

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.

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.
kerem closed this issue 2026-02-25 23:40:27 +03:00
Author
Owner

@geek-at commented on GitHub (Aug 29, 2017):

well you can do it with the UPLOAD_FORM_LOCATION in 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

<!-- gh-comment-id:325630140 --> @geek-at commented on GitHub (Aug 29, 2017): well you can do it with the ```UPLOAD_FORM_LOCATION``` in 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
Author
Owner

@ghost commented on GitHub (Aug 30, 2017):

I didn't thought on that :P Thanks, that's a really good one.

<!-- gh-comment-id:325956345 --> @ghost commented on GitHub (Aug 30, 2017): I didn't thought on that :P Thanks, that's a really good one.
Author
Owner

@ghost commented on GitHub (Aug 30, 2017):

I am using Docker, how do I do it? I tried using an ENV variable UPLOAD_FORM_LOCATION and the UPLOADPATH, but both didn't work

<!-- gh-comment-id:325962580 --> @ghost commented on GitHub (Aug 30, 2017): I am using Docker, how do I do it? I tried using an ENV variable `UPLOAD_FORM_LOCATION` and the `UPLOADPATH`, but both didn't work
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pictshare#30
No description provided.