@mashroom/mashroom-robots

2.6.0 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i @mashroom/mashroom-robots

    Weekly Downloads

    36

    Version

    2.6.0

    License

    MIT

    Unpacked Size

    4.44 kB

    Total Files

    5

    Last publish

    Collaborators

    • jkofler