diff --git a/V1ModuleStructure.md b/V1ModuleStructure.md index 7143b8d..9f45d15 100644 --- a/V1ModuleStructure.md +++ b/V1ModuleStructure.md @@ -58,8 +58,6 @@ An external page is a unique module page without Getiyo UI elements that can be ## Static Files -It is possible to add static files to a module build that can be used by the [ModuleServerAPI](./ModuleServerAPI) later. Simple create a `Static` directory in the root of the module environment and place files inside it to add them to the build. - You can include static files in a module build for later use with the [ModuleServerAPI](./ModuleServerAPI). To do so, create a `static` directory at the root of the module environment and place the files inside. This will ensure that they are added to the build. By following this approach, you can easily store and manage static assets, such as images, fonts, or other files, that your module may need for its functionality. ## Example complete file structure diff --git a/V2ModuleStructure.md b/V2ModuleStructure.md index 54e50e5..7f61182 100644 --- a/V2ModuleStructure.md +++ b/V2ModuleStructure.md @@ -76,6 +76,4 @@ An external page is a unique module page without Getiyo UI elements that can be ## Static Files -It is possible to add static files to a module build that can be used by the [ModuleServerAPI](./ModuleServerAPI) later. Simple create a `Static` directory in the root of the module environment and place files inside it to add them to the build. - -You can include static files in a module build for later use with the [ModuleServerAPI](./ModuleServerAPI). To do so, create a `static` directory at the root of the module environment and place the files inside. This will ensure that they are added to the build. By following this approach, you can easily store and manage static assets, such as images, fonts, or other files, that your module may need for its functionality. +You can include static files in a module build for later use with the [ModuleServerAPI](./ModuleServerAPI). To do so, create a `static` directory at the root of the module environment and place the files inside. Then you can use these files on the server side or make them available to client through [api.addHost()](./ModuleServerAPI#addhost).