mirror of
https://github.com/Dvorinka/excalidraw-full.git
synced 2026-06-03 22:02:57 +00:00
338dbcc20e
- Remove stale cloudflare-worker submodule entry from .gitmodules - Remove .git dirs from cf-kv and excalidraw-libraries so Git tracks them as regular files - Fixes 'No url found for submodule path cf-kv' CI error
17 lines
343 B
JavaScript
17 lines
343 B
JavaScript
var static = require("node-static");
|
|
|
|
var file = new static.Server(".");
|
|
PORT = 8080;
|
|
|
|
console.info(`Running at http://localhost:${PORT}`);
|
|
|
|
require("http")
|
|
.createServer(function (request, response) {
|
|
request
|
|
.addListener("end", function () {
|
|
file.serve(request, response);
|
|
})
|
|
.resume();
|
|
})
|
|
.listen(PORT);
|