@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.cjs
CHANGED
|
@@ -4936,6 +4936,7 @@ function createDispatcherPlugin(config = {}) {
|
|
|
4936
4936
|
res.header(k, v);
|
|
4937
4937
|
}
|
|
4938
4938
|
}
|
|
4939
|
+
res.header("Cache-Control", "no-store");
|
|
4939
4940
|
res.json({ data: await dispatcher.getDiscoveryInfo(prefix) });
|
|
4940
4941
|
});
|
|
4941
4942
|
server.get(`${prefix}/discovery`, async (_req, res) => {
|
|
@@ -4944,6 +4945,7 @@ function createDispatcherPlugin(config = {}) {
|
|
|
4944
4945
|
res.header(k, v);
|
|
4945
4946
|
}
|
|
4946
4947
|
}
|
|
4948
|
+
res.header("Cache-Control", "no-store");
|
|
4947
4949
|
res.json({ data: await dispatcher.getDiscoveryInfo(prefix) });
|
|
4948
4950
|
});
|
|
4949
4951
|
server.get(`${prefix}/health`, async (_req, res) => {
|