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

File missing on coding.blog-deployed site #17

Closed
TysonMN opened this issue Jun 16, 2020 · 5 comments
Closed

File missing on coding.blog-deployed site #17

TysonMN opened this issue Jun 16, 2020 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@TysonMN
Copy link
Contributor

TysonMN commented Jun 16, 2020

(In a previous "version of this issue", I misunderstood the relationship between the gh-pages branch and my site being hosted on conding.blog. Short answer: there is no relation.)

When locally hosting my site, http://localhost:3000/images/TysonWilliams.jpg exists.
2020-06-16_08-18-46_135_chrome

But https://tysonwilliams.coding.blog/images/TysonWilliams.jpg returns 404.

Why is that?

While debugging this issue, I thought it would be useful if

I am out of ideas now. What other debugging techniques could I use to better understand the differences between my site when locally hosted vs when hosted by coding.blog?

@loreanvictor
Copy link
Contributor

curious. to the best of my knowledge, the paths you specify to coding-blog-plugin are the assets that coding.blog will pick up and deploy alongside your blog, which should mean that src/assets/images/TysonWilliams.jpg should be at least accessible, but I cannot access that either.

@must any ideas? is this a bug?

@must
Copy link
Member

must commented Jun 16, 2020

This seems to be a bug with nested folders. I'm working on fixing it.

@must must added the bug Something isn't working label Jun 16, 2020
@must
Copy link
Member

must commented Jun 16, 2020

@bender2k14 This should now be fixed. I launched a build job for your blog. All relevant files should now be accessible.

@must must closed this as completed Jun 16, 2020
@loreanvictor
Copy link
Contributor

loreanvictor commented Jun 16, 2020

@bender2k14 just a heads up, with this fix you would get the image on coding.blog on /src/assets/images/TysonWilliams.jpg instead of /images/TysonWilliams.jpg. you can for now change your local config to mirror this behavior, but this issue would also allow you to specify mappings for your assets deployed on coding.blog, which would allow you to achieve what you are looking for.

@TysonMN
Copy link
Contributor Author

TysonMN commented Jun 16, 2020

Thanks guys :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants