Replies: 2 comments
-
It sounds like you're expecting this to configure your server to serve files from the directory you specify. Remix is not your server, so this isn't a server setting, you own that with your server. This setting instructs remix of your server setting when it generates URLs to assets. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@ryanflorence |
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
-
Given:
What does not make any sense:
browserBuildDirectory
needs to be relative toremix.config.js
, even though it looks likepublicPath
is hard-coded to be relative to./public/
. So settingbrowserBuildDirectory
to anything outside ofpublic/
does currently not make any sense.I'v tried dozens of combinations to "guess" how it might work, but only those inside
public/
worked, everything outside ended up in 404s.From my technical understanding it should not be a problem to serve static files from any document root/directory, isolating it from server files lie in my example.
Beta Was this translation helpful? Give feedback.
All reactions