@mashroom/mashroom-robots
v2.7.1
Published
Adds a middleware that exposes a robots.txt file for search engines
Downloads
11
Readme
Mashroom Robots
Plugin for Mashroom Server, a Microfrontend Integration Platform.
This plugin adds a middleware that exposes a robots.txt file for search engines.
Usage
If node_modules/@mashroom is configured as plugin path just add @mashroom/mashroom-robots as dependency.
You can override the default config in your Mashroom config file like this:
{
"plugins": {
"Mashroom Robots Middleware": {
"robots.txt": "./robots.txt"
}
}
}
- robots.txt: The path to the robots.txt file. Can be relative to the server config file or absolute. If not provided, the default config denies the access to all search engines.