@raketa-cloud/admin 0.0.76 → 0.0.78

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raketa-cloud/admin",
3
- "version": "0.0.76",
3
+ "version": "0.0.78",
4
4
  "main": "src/index.js",
5
5
  "scripts": {
6
6
  "dev": "npx tailwindcss -i ./src/styles/application.css -o ../../apps/admin/static/application.css --watch",
@@ -13,10 +13,6 @@ const setupAuthentication = (app, config) => {
13
13
  app.use(async (c, next) => {
14
14
  const token = getCookie(c, AuthHelper.cookie_key) || getAuthBearer(c);
15
15
 
16
- if (!token) {
17
- return c.redirect("/login");
18
- }
19
-
20
16
  const status = AuthHelper.isAuthenticated({ path: c.req.path, token });
21
17
 
22
18
  if (!status) {
@@ -34,7 +34,7 @@
34
34
  <script src="https://storage.googleapis.com/cdn-raketa-cloud/js/raketa-image-picker-webcomponent.umd.js"></script>
35
35
 
36
36
  <script>
37
- var FILE_PICKER_GATEWAY_DISPATCH_URL = "<%= _context.globalConfig.cloud.gatway_url %>/dispatch";
37
+ var FILE_PICKER_GATEWAY_DISPATCH_URL = "<%= _context.globalConfig.cloud.gateway_url %>/dispatch";
38
38
  var FILE_PICKER_GATEWAY_PROJECT = "<%= _context.globalConfig.cloud.gateway_project %>";
39
39
  var FILE_PICKER_DXP_PRIVATE_SERVICE = "<%= _context.globalConfig.cloud.dxp_service_private %>";
40
40
  var FILE_PICKER_JWT_TOKEN = "<%= _context.adminJwt %>";