Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong file URL after upload #843

Closed
lkostrowski opened this issue Mar 25, 2018 · 1 comment
Closed

Wrong file URL after upload #843

lkostrowski opened this issue Mar 25, 2018 · 1 comment

Comments

@lkostrowski
Copy link

lkostrowski commented Mar 25, 2018

Node.js version:
https://github.com/strapi/strapi-docker
(v9.8.0)

npm version:
https://github.com/strapi/strapi-docker
(5.6.0)

Strapi version:
https://github.com/strapi/strapi-docker
(3.0.0-alpha.11)

Operating system:
Docker

Do you want to request a feature or report a bug?
bug

What is the current behavior?
After photo gets uploaded URL is copied to clipboard:
http://cb63deeba9d8:1337/uploads/3a92cc8f08394d35bfa5bccd867c9f6c.JPG

If the current behavior is a bug, please provide the steps to reproduce the problem
1: Upload file
2: Click on entry

What is the expected behavior?
url should start with "localhost"

"cb63deeba9d8" is id of a container.

I added same issue to strapi-docker repo

@lkostrowski
Copy link
Author

lkostrowski commented Mar 25, 2018

Not sure if this issue is more docker related (passing host to container) or resolving file path

EDIT:
strapi/strapi-docker#10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant