Skip to content

Sweep: Enhance Repo to support multiple static sites. Implement a proxy mechanism to redirect the user for specific domains Or if not possible find a way to use one mapping domain where several paths redirect to a respective site #11

@sirsimonson

Description

@sirsimonson
Checklist
  • site1/index.html

• Create a new index.html file for the first static site. This file should include the necessary HTML, CSS, and JavaScript for the site.

  • site2/index.html

• Create a new index.html file for the second static site. This file should include the necessary HTML, CSS, and JavaScript for the site.

  • redirect.js

• Create a new JavaScript file for the redirect mechanism. This script should check the URL path and redirect the user to the appropriate site. For example, if the URL path is "/site1", the script should redirect the user to "site1/index.html".

  • index.html

• Include the redirect script in the main index.html file. Add a script tag to the head of the document that references the redirect.js file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    sweepAssigns Sweep to an issue or pull request.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions