1.1.0 • Published 3 years ago

retronhosting v1.1.0

Weekly downloads
78
License
ISC
Repository
github
Last release
3 years ago

retronhosting

In your index.js file:

const retronhost = require("retronhosting");
retronhost.setup("./config.retronhosting.js")

Make a file named "config.retronhosting.js" Insert this code in the file:

{
  "pages": {
    "/": "pages/index.html"
  },
  "404": "pages/404.html"
}

This file is kindof self-explanitory