kinow commented on issue #2392:
URL: https://github.com/apache/jena/issues/2392#issuecomment-2041598695

   >Would I be right in thinking vite.config.js assetsDir: 'static' is file 
path and not related to the generated URLs?
   
   Yes, a directory/path. The default value is `assets`, from [vite 
docs](https://vitejs.dev/config/build-options.html#build-assetsdir):
   
   > Specify the directory to nest generated assets under (relative to 
build.outDir. This is not used in Library Mode).
   
   >PS https://github.com/vitejs/vite/discussions/5081 :: setting is './'
   
   `./` as base would make sense, it should work for `/` and other base/context 
paths. The dafult is `/`, and they have this in their docs (love Vite docs):
   
   >Base public path when served in development or production. Valid values 
include:
   >
   >    Absolute URL pathname, e.g. /foo/
   >    Full URL, e.g. https://foo.com/ (The origin part won't be used in 
development)
   >    Empty string or ./ (for embedded deployment)
   
   I think the last option is worth testing. Let me prepare a PR so that we can 
try that.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to