Skip to content

Avaliable for MSL server to inject custom functions for parsing URL to read static file. #59

@ransha

Description

@ransha

User will be able to inject custom made functions to parse URLs to retrieve static files.
For example, If some of the app code or css file is been redirect to other folder like this
http://localhost:8000/basefolder/redirect/:new:folder:is:here:appCode.js
The default express.js will not be able to reach file appCode.js because it's trying to find ":new:folder:is:here:appCode.js" in the "/basefolder/redirect" folder.

We allow the user to inject their own function that can parse the URL in a custom way so it can look up file appCode.js in /new/folder/is/here folder.

The function will be in a designated js file and will return the parsed file path so MSL server can look up the file.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions