This commit is contained in:
ennmichael
2023-04-09 19:12:49 +02:00
parent 31b0538337
commit 3ffe4d5b19
7 changed files with 94 additions and 9 deletions

View File

@ -10,7 +10,7 @@ const port = 33543
const app = express()
app.use("/", (req: express.Request, res: express.Response) => {
if (req.path === "/") {
if (req.path === "/" || req.path === "/nostr-object") {
const index = fs.readFileSync(path.join(__dirname, "index.html"), {
encoding: "utf8",
})