Skip to content

Add support for serving HTML related files via local Web Server #162

@silverhack

Description

@silverhack

Is your feature request related to a problem? Please describe.
Monkey365 serves HTML assets using the following methods:

  • via CDN using JsDelivr, or
  • via UNC paths (e.g., \server\share\assets)

Monkey365 HTML options

Monkey365 should allow serving assets through a local web server.

Describe the solution you'd like
Add support for serving static HTML-related assets (CSS, JS, images, fonts, etc.) through a dedicated local web server endpoint instead of directly from GitHub (https://github.com/silverhack/monkey365assets).

Proposed solution

Set the assetsPath property to the base URL where static assets are served.

"htmlSettings": {
    "convertPassFindingToGood": true,
        "assetsRepository":"https://github.com/silverhack/monkey365assets",
	"localHtmlReport": {
	    "assetsPath": "http(s)://your_local_server/localassets/",
	    "enabled": "true"
	},
    "htmlReportFromCDN": "true"
}

When enabled, monkey365 will check if the assetsPath includes a valid schema. Otherwise will log a warning error and should fallback to default behaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions