changed port
This commit is contained in:
@@ -6,7 +6,7 @@ const CSS = readFileSync("./src/public/styles.css", "utf-8");
|
|||||||
const JS = readFileSync("./src/public/script.js", "utf-8");
|
const JS = readFileSync("./src/public/script.js", "utf-8");
|
||||||
|
|
||||||
const server = Bun.serve({
|
const server = Bun.serve({
|
||||||
port: 3000,
|
port: 3009,
|
||||||
fetch(req, server) {
|
fetch(req, server) {
|
||||||
const url = new URL(req.url);
|
const url = new URL(req.url);
|
||||||
if (url.pathname === "/ws") {
|
if (url.pathname === "/ws") {
|
||||||
|
|||||||
Reference in New Issue
Block a user