timetable-api-node 1.7.6 → 1.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/index.ts +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -96,7 +96,7 @@ license key, not an `NRAK-...` user API key.
|
|
|
96
96
|
Cloud Run reads the key from Secret Manager:
|
|
97
97
|
|
|
98
98
|
```bash
|
|
99
|
-
gcloud run services update timetable-api-node --region=
|
|
99
|
+
gcloud run services update timetable-api-node --region=europe-north1 --project=timetable-252615 --set-secrets=NEW_RELIC_LICENSE_KEY=new-relic-license-key:latest
|
|
100
100
|
```
|
|
101
101
|
|
|
102
102
|
## MCP Server
|
|
@@ -592,7 +592,7 @@ Vehicles within 1 km of a point. Short-cached (10 s).
|
|
|
592
592
|
|
|
593
593
|
## Deployment
|
|
594
594
|
|
|
595
|
-
Production runs on Cloud Run (`timetable-api-node`, `
|
|
595
|
+
Production runs on Cloud Run (`timetable-api-node`, `europe-north1`, project
|
|
596
596
|
`timetable-252615`) behind Cloudflare.
|
|
597
597
|
|
|
598
598
|
- **Image.** The Dockerfile imports the GTFS feed at build time
|
package/index.ts
CHANGED
|
@@ -446,6 +446,13 @@ app.get("/smithery.json", (req, res) => {
|
|
|
446
446
|
res.sendFile(path.join(__dirname, "smithery.json"));
|
|
447
447
|
});
|
|
448
448
|
|
|
449
|
+
// Glama checks this path on the server's own domain to confirm who maintains
|
|
450
|
+
// the listing; it 404'd before, though the file was already in the repo.
|
|
451
|
+
app.get("/.well-known/glama.json", (req, res) => {
|
|
452
|
+
setStaticAssetCache(res, 3600 * 24 * 7);
|
|
453
|
+
res.sendFile(path.join(__dirname, "glama.json"));
|
|
454
|
+
});
|
|
455
|
+
|
|
449
456
|
app.get("/server.json", (req, res) => {
|
|
450
457
|
setStaticAssetCache(res, 3600 * 24 * 7);
|
|
451
458
|
res.sendFile(path.join(__dirname, "server.json"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "timetable-api-node",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.7",
|
|
4
4
|
"description": "Lviv (Ukraine) public transport REST API and read-only Model Context Protocol (MCP) server: stops, timetables, routes, live vehicle positions, GTFS/GTFS-RT. No API key required.",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"type": "module",
|