@moneypot/hub 1.6.0 → 1.6.1

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.
@@ -59,4 +59,5 @@ create policy select_outcome_bet on hub.outcome_bet for select using (
59
59
  user_id = hub_hidden.current_user_id() and
60
60
  experience_id = hub_hidden.current_experience_id() and
61
61
  casino_id = hub_hidden.current_casino_id()
62
- );
62
+ )
63
+ );
@@ -40,6 +40,9 @@ function createExpressServer() {
40
40
  app.use("/dashboard/*splat", (_, res) => {
41
41
  res.sendFile(path.join(dashboardDir, "index.html"));
42
42
  });
43
+ app.get("/health", (_, res) => {
44
+ res.send("ok");
45
+ });
43
46
  return app;
44
47
  }
45
48
  export function createHubServer({ configureApp, plugins, exportSchemaSDLPath, extraPgSchemas, abortSignal, }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moneypot/hub",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "author": "moneypot.com",
5
5
  "homepage": "https://moneypot.com/hub",
6
6
  "keywords": [