@budibase/server 2.4.20 → 2.4.21

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.
@@ -10,7 +10,7 @@
10
10
  href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap"
11
11
  rel="stylesheet"
12
12
  />
13
- <script type="module" crossorigin src="/builder/assets/index.376dfd04.js"></script>
13
+ <script type="module" crossorigin src="/builder/assets/index.e402a076.js"></script>
14
14
  <link rel="stylesheet" href="/builder/assets/index.b0e3aca6.css">
15
15
  </head>
16
16
  <body id="app">
package/dist/api/index.js CHANGED
@@ -1,13 +1,4 @@
1
1
  "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
2
  var __importDefault = (this && this.__importDefault) || function (mod) {
12
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
13
4
  };
@@ -19,7 +10,6 @@ const currentapp_1 = __importDefault(require("../middleware/currentapp"));
19
10
  const zlib_1 = __importDefault(require("zlib"));
20
11
  const routes_1 = require("./routes");
21
12
  const package_json_1 = __importDefault(require("../../package.json"));
22
- const environment_1 = __importDefault(require("../environment"));
23
13
  const pro_1 = require("@budibase/pro");
24
14
  var public_1 = require("./routes/public");
25
15
  Object.defineProperty(exports, "shutdown", { enumerable: true, get: function () { return public_1.shutdown; } });
@@ -38,13 +28,6 @@ exports.router
38
28
  flush: zlib_1.default.constants.Z_SYNC_FLUSH,
39
29
  },
40
30
  br: false,
41
- }))
42
- .use((ctx, next) => __awaiter(void 0, void 0, void 0, function* () {
43
- ctx.config = {
44
- jwtSecret: environment_1.default.JWT_SECRET,
45
- useAppRootPath: true,
46
- };
47
- yield next();
48
31
  }))
49
32
  // re-direct before any middlewares occur
50
33
  .redirect("/", "/builder")
@@ -31,7 +31,6 @@ let inThread = false;
31
31
  const environment = {
32
32
  // important - prefer app port to generic port
33
33
  PORT: process.env.APP_PORT || process.env.PORT,
34
- JWT_SECRET: process.env.JWT_SECRET,
35
34
  COUCH_DB_URL: process.env.COUCH_DB_URL,
36
35
  MINIO_URL: process.env.MINIO_URL,
37
36
  WORKER_URL: process.env.WORKER_URL,
@@ -40,7 +39,6 @@ const environment = {
40
39
  MINIO_SECRET_KEY: process.env.MINIO_SECRET_KEY,
41
40
  REDIS_URL: process.env.REDIS_URL,
42
41
  REDIS_PASSWORD: process.env.REDIS_PASSWORD,
43
- INTERNAL_API_KEY: process.env.INTERNAL_API_KEY,
44
42
  HTTP_MIGRATIONS: process.env.HTTP_MIGRATIONS,
45
43
  API_REQ_LIMIT_PER_SEC: process.env.API_REQ_LIMIT_PER_SEC,
46
44
  GOOGLE_CLIENT_ID: process.env.GOOGLE_CLIENT_ID,
package/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@budibase/server",
3
3
  "email": "hi@budibase.com",
4
- "version": "2.4.19",
4
+ "version": "2.4.20",
5
5
  "description": "Budibase Web Server",
6
6
  "main": "src/index.ts",
7
7
  "repository": {
@@ -43,12 +43,12 @@
43
43
  "license": "GPL-3.0",
44
44
  "dependencies": {
45
45
  "@apidevtools/swagger-parser": "10.0.3",
46
- "@budibase/backend-core": "^2.4.19",
47
- "@budibase/client": "^2.4.19",
48
- "@budibase/pro": "2.4.19",
49
- "@budibase/shared-core": "^2.4.19",
50
- "@budibase/string-templates": "^2.4.19",
51
- "@budibase/types": "^2.4.19",
46
+ "@budibase/backend-core": "^2.4.20",
47
+ "@budibase/client": "^2.4.20",
48
+ "@budibase/pro": "2.4.20",
49
+ "@budibase/shared-core": "^2.4.20",
50
+ "@budibase/string-templates": "^2.4.20",
51
+ "@budibase/types": "^2.4.20",
52
52
  "@bull-board/api": "3.7.0",
53
53
  "@bull-board/koa": "3.9.4",
54
54
  "@elastic/elasticsearch": "7.10.0",