Replies: 2 comments 1 reply
-
The files in the public directory are served from I’m not sure what more you need unless you want to be able to rename public to something else for another reason. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Use the express adapter and you get full control over your server. https://remix.run/docs/en/v1/other-api/adapter |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using remix-serve, It's possible to specify a custom path to serve the build directory from with the
publicPath
property inremix.config.js
.remix/packages/remix-serve/index.ts
Lines 18 to 21 in 1bdeebf
However, no such option exists to do the same for the static files in the public directory.
remix/packages/remix-serve/index.ts
Line 23 in 1bdeebf
It would be good to have the option to serve these files from a different path if desired.
Beta Was this translation helpful? Give feedback.
All reactions