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

Server asset path mismatch after deployment #11646

Closed
eltigerchino opened this issue Jan 16, 2024 · 0 comments · Fixed by #11649
Closed

Server asset path mismatch after deployment #11646

eltigerchino opened this issue Jan 16, 2024 · 0 comments · Fixed by #11649

Comments

@eltigerchino
Copy link
Member

eltigerchino commented Jan 16, 2024

Describe the problem

After building, only adapter-node and adapter-netlify have the issue of server assets living at a different path other than the Vite resolved path /_app/immutable/assets/*.

Describe the proposed solution

It would be great if the build output automatically rewrites the server asset paths so we don't have to do this

// server assets live in `.netlify/server` when deployed to Netlify
const dir = dev ? cwd : path.join(cwd, '.netlify/server');

Alternatives considered

No response

Importance

nice to have

Additional Information

No response

@eltigerchino eltigerchino changed the title Accessing server assets after deployment Server asset path mismatch after deployment Jan 16, 2024
@eltigerchino eltigerchino linked a pull request Jan 17, 2024 that will close this issue
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant