feat(web-organizations): add organization detail editing and isolate detail view state from global navigation
This commit is contained in:
@@ -325,7 +325,7 @@ export class StackGalleryRegistry {
|
||||
// Get bundled file
|
||||
const file = bundledFileMap.get(filePath);
|
||||
if (file) {
|
||||
return new Response(file.data, {
|
||||
return new Response(file.data as unknown as BodyInit, {
|
||||
status: 200,
|
||||
headers: { 'Content-Type': file.contentType },
|
||||
});
|
||||
@@ -334,7 +334,7 @@ export class StackGalleryRegistry {
|
||||
// SPA fallback: serve index.html for unknown paths
|
||||
const indexFile = bundledFileMap.get('/index.html');
|
||||
if (indexFile) {
|
||||
return new Response(indexFile.data, {
|
||||
return new Response(indexFile.data as unknown as BodyInit, {
|
||||
status: 200,
|
||||
headers: { 'Content-Type': 'text/html' },
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user