const express = require("express"); const {resolve} = require("node:path"); const {app} = require("./http"); app.use( express.static( resolve(__dirname,"../public"), { acceptRanges: true, etag: true } ) );