@objectstack/runtime 9.7.0 → 9.8.0
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/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +18 -18
package/dist/index.js
CHANGED
|
@@ -4878,6 +4878,7 @@ function createDispatcherPlugin(config = {}) {
|
|
|
4878
4878
|
res.header(k, v);
|
|
4879
4879
|
}
|
|
4880
4880
|
}
|
|
4881
|
+
res.header("Cache-Control", "no-store");
|
|
4881
4882
|
res.json({ data: await dispatcher.getDiscoveryInfo(prefix) });
|
|
4882
4883
|
});
|
|
4883
4884
|
server.get(`${prefix}/discovery`, async (_req, res) => {
|
|
@@ -4886,6 +4887,7 @@ function createDispatcherPlugin(config = {}) {
|
|
|
4886
4887
|
res.header(k, v);
|
|
4887
4888
|
}
|
|
4888
4889
|
}
|
|
4890
|
+
res.header("Cache-Control", "no-store");
|
|
4889
4891
|
res.json({ data: await dispatcher.getDiscoveryInfo(prefix) });
|
|
4890
4892
|
});
|
|
4891
4893
|
server.get(`${prefix}/health`, async (_req, res) => {
|