Fix admin wasm bootstrap and dashboard routing
TaxBaik CI/CD / build-and-deploy (push) Failing after 3m32s
TaxBaik CI/CD / build-and-deploy (push) Failing after 3m32s
This commit is contained in:
@@ -436,7 +436,13 @@ app.Use(async (context, next) =>
|
||||
if (path.Contains("resource-collection") && path.EndsWith(".js"))
|
||||
{
|
||||
context.Response.ContentType = "application/javascript";
|
||||
await context.Response.WriteAsync("export default [];");
|
||||
await context.Response.WriteAsync("""
|
||||
export function get() {
|
||||
return [];
|
||||
}
|
||||
|
||||
export default { get };
|
||||
""");
|
||||
return;
|
||||
}
|
||||
await next();
|
||||
|
||||
Reference in New Issue
Block a user