@abp/core 9.2.0 → 9.3.0-rc.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/abp.js +4 -2
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "9.2.0",
2
+ "version": "9.3.0-rc.1",
3
3
  "name": "@abp/core",
4
4
  "repository": {
5
5
  "type": "git",
@@ -10,7 +10,7 @@
10
10
  "access": "public"
11
11
  },
12
12
  "dependencies": {
13
- "@abp/utils": "~9.2.0"
13
+ "@abp/utils": "~9.3.0-rc.1"
14
14
  },
15
15
  "gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431",
16
16
  "homepage": "https://abp.io",
package/src/abp.js CHANGED
@@ -4,7 +4,9 @@ var abp = abp || {};
4
4
  /* Application paths *****************************************/
5
5
 
6
6
  //Current application root path (including virtual directory if exists).
7
- abp.appPath = abp.appPath || '/';
7
+ var baseElement = document.querySelector('base');
8
+ var baseHref = baseElement ? baseElement.getAttribute('href') : null;
9
+ abp.appPath = baseHref || abp.appPath || '/';
8
10
 
9
11
  abp.pageLoadTime = new Date();
10
12
 
@@ -830,7 +832,7 @@ var abp = abp || {};
830
832
  abp.clock.trySetBrowserTimeZoneToCookie = true;
831
833
 
832
834
  abp.clock.setBrowserTimeZoneToCookie = function () {
833
- if (!abp.clock.trySetBrowserTimeZoneToCookie || !abp.clock.supportsMultipleTimezone() || abp.currentUser.isAuthenticated) {
835
+ if (!abp.clock.trySetBrowserTimeZoneToCookie || !abp.clock.supportsMultipleTimezone()) {
834
836
  return;
835
837
  }
836
838