website/src/dev.luau
2026-02-22 00:18:52 -05:00

14 lines
311 B
Plaintext

local net = require("@lune/net")
local fs = require("@lune/fs")
local server = net.serve(3000, function()
return {
status = 200,
body = fs.readFile("dist/index.html"),
headers = {
['Application-Type'] = 'html'
}
}
end)
print(`Serving on http://localhost:3000`)