Shopify / Shopify/shopify-app-template-node
Not able to use public folder for static file serving
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 434
- PR merge metrics
- No merged PRs in 30d
Description
I tried to create a public folder to serve static files but it is not working. The request to get the file is returning a 400 as status
Write a short description of the issue here ↓
Expected behavior
What do you think should happen?
Actual behavior
What actually happens?
Tip: include an error message (in a <details></details> tag) if your issue is related to an error
Steps to reproduce the problem
Reduced test case
The best way to get your bug fixed is to provide a reduced test case.
Specifications
- Browser:
- Device:
- Operating System:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not name a file, entry point, test, or reduced test case. Start by locating the template's static-file serving configuration and reproduce the 400 response when requesting a file from a public folder. Done means the static file can be requested successfully and the behavior is covered by an appropriate test or reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100