fix admin's assetPath for remote static assets

This commit is contained in:
dswbx
2025-07-03 15:06:21 +02:00
parent 2f684765de
commit a5959acb34
5 changed files with 5 additions and 5 deletions

View File

@@ -195,7 +195,7 @@ export class AdminController extends Controller {
if (isProd) {
let manifest: any;
if (this.options.assetsPath.startsWith("http")) {
manifest = await fetch(this.options.assetsPath + "manifest.json", {
manifest = await fetch(this.options.assetsPath + ".vite/manifest.json", {
headers: {
Accept: "application/json",
},