@monkeyplus/flow 6.0.83 → 6.0.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -34,13 +34,13 @@ export default defineFlowModule({
|
|
|
34
34
|
if (!context.nitro.plugins.includes(fetchPluginPath)) {
|
|
35
35
|
context.nitro.plugins.push(fetchPluginPath);
|
|
36
36
|
}
|
|
37
|
-
context.nitro.
|
|
38
|
-
...context.nitro.
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
37
|
+
context.nitro.serverAssets = [
|
|
38
|
+
...context.nitro.serverAssets || [],
|
|
39
|
+
{
|
|
40
|
+
baseName: "content",
|
|
41
|
+
dir: contentDir
|
|
42
42
|
}
|
|
43
|
-
|
|
43
|
+
];
|
|
44
44
|
context.nitro.runtimeConfig.flow = {
|
|
45
45
|
...typeof context.nitro.runtimeConfig.flow === "object" && context.nitro.runtimeConfig.flow ? context.nitro.runtimeConfig.flow : {},
|
|
46
46
|
content: {
|
|
@@ -126,7 +126,7 @@ export async function readContentEntries() {
|
|
|
126
126
|
}
|
|
127
127
|
return entries2;
|
|
128
128
|
};
|
|
129
|
-
const storage = useStorage("content");
|
|
129
|
+
const storage = useStorage("assets:content");
|
|
130
130
|
const keys = await storage.getKeys();
|
|
131
131
|
const entries = [];
|
|
132
132
|
if (keys.length === 0) {
|
|
Binary file
|