[GH-ISSUE #129] api/upload not return full URL #468

Closed
opened 2026-02-27 12:44:54 +03:00 by kerem · 0 comments
Owner

Originally created by @changchichung on GitHub (Jun 25, 2021).
Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/129

I run pictshare with docker-compose
docker-compose.yml

version: '3.3'

services:
  pictshare:
    image: hascheksolutions/pictshare:latest
    ports:
      - "804:80"
    volumes:
      - pictshare:/usr/share/nginx/html/data
volumes:
  pictshare:

upload file in command prompt

chchang@hqdc039:~/docker/pictshare$ curl -F "file=@docker-compose.yml" "http://192.168.11.39:804/api/upload.php"
{"status":"ok","hash":"foyvnl.txt","filetype":"text","url":"foyvnl.txt"}
chchang@hqdc039:~/docker/pictshare$ 

in document , API section , the command should return full URL like
http://192.168.11.39:804/fovnl.txt"
but it doesn't.

any suggestions ??

Originally created by @changchichung on GitHub (Jun 25, 2021). Original GitHub issue: https://github.com/HaschekSolutions/pictshare/issues/129 I run pictshare with docker-compose docker-compose.yml ``` version: '3.3' services: pictshare: image: hascheksolutions/pictshare:latest ports: - "804:80" volumes: - pictshare:/usr/share/nginx/html/data volumes: pictshare: ``` upload file in command prompt ``` chchang@hqdc039:~/docker/pictshare$ curl -F "file=@docker-compose.yml" "http://192.168.11.39:804/api/upload.php" {"status":"ok","hash":"foyvnl.txt","filetype":"text","url":"foyvnl.txt"} chchang@hqdc039:~/docker/pictshare$ ``` in document , API section , the command should return full URL like http://192.168.11.39:804/fovnl.txt" but it doesn't. any suggestions ??
kerem closed this issue 2026-02-27 12:44:54 +03:00
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#468
No description provided.