Preview page with relative resource references? #383
Replies: 3 comments 1 reply
-
Hello @carueda 👋! Thanks for the kind word and your feedback. Not sure to understand here, when you speak about the preview page, is it related to the mini-dashboard allowing you to do some search tests? Which version are you using? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply, @gmourier . Yes, the "Mini Dashboard".
If I open ...
<link rel="icon" href="/favicon.ico"/>
...
<link rel="manifest" href="/manifest.json"/>
...
<script src="/static/js/2.227a1ad8.chunk.js"></script>
<script src="/static/js/main.8ab5ae94.chunk.js"></script> My observation is whether a future version of the mini dashboard page could use relative references instead of absolute ones (the leading |
Beta Was this translation helpful? Give feedback.
-
Hello @carueda it is indeed linked to the mini dashboard. Here is the issue on the subject! Thanks a lot for you feedback :) |
Beta Was this translation helpful? Give feedback.
-
I have a proxy-pass on my server so the meilisearch service (running on
http://localhost:7700/
) gets exposed ashttps://mysite.net/meilisearch/
.API interactions work just fine.
However, the preview page at that site fails with 404 to load resources like
https://mysite.net/static/js/2.227a1ad8.chunk.js
apparently because of the absolute paths/static/...
(and others).Is there a way to make the preview page use relative references so it works as well under this scenario? Am I missing something?
Thanks in advance. (btw, great project!)
Beta Was this translation helpful? Give feedback.
All reactions