mirror of
https://github.com/aljazceru/bakery.git
synced 2025-12-17 20:55:02 +01:00
remove nostrudel module
This commit is contained in:
@@ -1,12 +0,0 @@
|
|||||||
{
|
|
||||||
"mcpServers": {
|
|
||||||
"bakery-dev": {
|
|
||||||
"command": "npx",
|
|
||||||
"args": ["nostrudel-bakery", "--mcp"],
|
|
||||||
"env": {
|
|
||||||
"DATA_DIR": "/home/robert/Projects/bakery/data",
|
|
||||||
"OWNER_PUBKEY": "npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,5 +1,3 @@
|
|||||||
/dist
|
/dist
|
||||||
/nostrudel/dist
|
|
||||||
/data
|
/data
|
||||||
node_modules
|
node_modules
|
||||||
/nostrudel/node_modules
|
|
||||||
|
|||||||
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -1,3 +0,0 @@
|
|||||||
[submodule "nostrudel"]
|
|
||||||
path = nostrudel
|
|
||||||
url = https://github.com/hzrd149/nostrudel.git
|
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
dist
|
dist
|
||||||
data
|
data
|
||||||
nostrudel
|
|
||||||
node_modules
|
node_modules
|
||||||
|
|||||||
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
@@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
"search.exclude": {
|
|
||||||
"**/nostrudel": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -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
@@ -21,7 +21,6 @@
|
|||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
"nostrudel/dist",
|
|
||||||
"drizzle"
|
"drizzle"
|
||||||
],
|
],
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user