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

Got 500 when I try to add the PWD button into my readme #603

Closed
LinuxSuRen opened this issue Nov 14, 2023 · 4 comments
Closed

Got 500 when I try to add the PWD button into my readme #603

LinuxSuRen opened this issue Nov 14, 2023 · 4 comments

Comments

@LinuxSuRen
Copy link

See also the following content:

Try in PWD

[![Try in PWD](https://github.com/play-with-docker/stacks/raw/cff22438cb4195ace27f9b15784bbb497047afa7/assets/images/button.png)](http://play-with-docker.com?stack=https://raw.githubusercontent.com/LinuxSuRen/api-testing/master/docs/manifests/docker-compose.yaml)
@ArjunMenon-bit
Copy link

@LinuxSuRen Can you give more details on this issue so that we can reproduce this?

@LinuxSuRen
Copy link
Author

hi @ArjunMenon-bit , I'm not sure if I understand it correctly. I thought I could give an environment with the given compose file which is in the URL above. But I got a 500 error response when I clicked the above button (Try in PWD).

@Koh42
Copy link

Koh42 commented Jan 15, 2024

@LinuxSuRen try renaming .yaml to .yml
it could due to the code logic expecting .yml
https://github.com/play-with-docker/play-with-docker/blob/master/handlers/new_session.go#L106

@LinuxSuRen
Copy link
Author

It works well. Thanks for your help. @Koh42

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

3 participants