Skip to content

Commit

Permalink
#### 4.0.11
Browse files Browse the repository at this point in the history
* internal build with dev feature for oAuth
  • Loading branch information
agnybida committed Sep 24, 2024
1 parent 7880b8a commit c709d7f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "deep-see-web",
"version": "4.0.10",
"version": "4.0.11",
"scripts": {
"ng": "ng",
"start": "ng serve --proxy-config=proxy.conf.samples-bi.js",
Expand Down
3 changes: 2 additions & 1 deletion src/app/services/data.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,8 @@ export class DataService {
* Load OAuth config file oauth.json
*/
loadOAuthConfig() {
return this.http.get('dswoauth/check' + location.search, this.withoutCredentialsHeaders).toPromise();
const query = location.hash.replace('#/', '').split('?')[1];
return this.http.get('dswoauth/check' + query ? `?${query}` : '', this.withoutCredentialsHeaders).toPromise();
}

/**
Expand Down
3 changes: 3 additions & 0 deletions src/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#### 4.0.11
* internal build with dev feature for oAuth

#### 4.0.10
* fixed issue with addons loading when DSW uses authentication (#331)

Expand Down

0 comments on commit c709d7f

Please sign in to comment.