You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
frontend/web: compile using relative base path instead of absolute
The default value for `base` is `/`, resulting in
```
<script type="module" crossorigin src="/assets/index-98aa38f3.js"></script>
<link rel="stylesheet" href="/assets/index-f26e81d9.css">
```
in `frontends/web/build/index.html`. For embedded use, the vite docs
recommend using a relative path:
```
<script type="module" crossorigin src="./assets/index-98aa38f3.js"></script>
<link rel="stylesheet" href="./assets/index-f26e81d9.css">
```
For Qt and Android, this does not seem to make a difference. On iOS
however, the way that local assets are looked up, it has to be
relative.
0 commit comments