Skip to content

witch.json

HalfPixel edited this page Nov 11, 2021 · 1 revision

The witch.json file

Witch.json is the file that is created for the witch server
to know what routes go to which files

So now instead of going to /route.html you could make a entry in witch.json that says

//witch.json
{
  "/route": "file.html"
}

Than whenever /route is accessed, witch will serve file.html

Clone this wiki locally