remove nostrudel module

This commit is contained in:
hzrd149
2025-04-06 19:04:38 +01:00
parent 612ff7e8ee
commit aa45523488
9 changed files with 5 additions and 30 deletions

View File

@@ -1,12 +0,0 @@
{
"mcpServers": {
"bakery-dev": {
"command": "npx",
"args": ["nostrudel-bakery", "--mcp"],
"env": {
"DATA_DIR": "/home/robert/Projects/bakery/data",
"OWNER_PUBKEY": "npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr"
}
}
}
}

View File

@@ -1,5 +1,3 @@
/dist /dist
/nostrudel/dist
/data /data
node_modules node_modules
/nostrudel/node_modules

3
.gitmodules vendored
View File

@@ -1,3 +0,0 @@
[submodule "nostrudel"]
path = nostrudel
url = https://github.com/hzrd149/nostrudel.git

View File

@@ -1,4 +1,3 @@
dist dist
data data
nostrudel
node_modules node_modules

View File

@@ -1,5 +0,0 @@
{
"search.exclude": {
"**/nostrudel": true
}
}

View File

@@ -1,3 +1,3 @@
# noStrudel Bakery # nostr bakery
A backend for [noStrudel](https://github.com/hzrd149/noStrudel) I'm not sure what this is yet

Submodule nostrudel deleted from f73636c1b5

View File

@@ -21,7 +21,6 @@
}, },
"files": [ "files": [
"dist", "dist",
"nostrudel/dist",
"drizzle" "drizzle"
], ],
"keywords": [ "keywords": [

View File

@@ -58,10 +58,10 @@ app.express.get("/", (req, res, next) => {
}); });
// serve the web ui or redirect to another hosted version // serve the web ui or redirect to another hosted version
const appDir = (await pathExists("./nostrudel/dist")) ? "./nostrudel/dist" : "./public"; const www = "./public";
app.express.use(express.static(appDir)); app.express.use(express.static(www));
app.express.get("*", (req, res) => { app.express.get("*", (req, res) => {
res.sendFile(path.resolve(appDir, "index.html")); res.sendFile(path.resolve(www, "index.html"));
}); });
// catch unhandled errors // catch unhandled errors