Verified Commit 8efc91e0 authored by Raphael Ochsenbein's avatar Raphael Ochsenbein
Browse files

Access api on same domain on server

parent e3079db5
Pipeline #661 passed with stages
in 1 minute and 49 seconds
......@@ -2275,6 +2275,11 @@
}
}
},
"classlist.js": {
"version": "1.1.20150312",
"resolved": "https://registry.npmjs.org/classlist.js/-/classlist.js-1.1.20150312.tgz",
"integrity": "sha1-HXCEL3Ai8I2awIbOaeWyUPLFd4k="
},
"clean-css": {
"version": "4.2.1",
"resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.1.tgz",
......@@ -10279,6 +10284,11 @@
"has-flag": "^3.0.0"
}
},
"svg4everybody": {
"version": "2.1.9",
"resolved": "https://registry.npmjs.org/svg4everybody/-/svg4everybody-2.1.9.tgz",
"integrity": "sha1-W9n23vwTOFmgRGRtR0P6vCjbfi0="
},
"symbol-observable": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz",
......@@ -11133,6 +11143,11 @@
"minimalistic-assert": "^1.0.0"
}
},
"web-animations-js": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/web-animations-js/-/web-animations-js-2.3.1.tgz",
"integrity": "sha1-Om2bwVGWN3qQ+OKAP6UmIWWwRRA="
},
"webdriver-js-extender": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/webdriver-js-extender/-/webdriver-js-extender-2.1.0.tgz",
......
......@@ -185,7 +185,7 @@ export class AppComponent implements OnDestroy {
getUrl() {
if (environment.production) {
return 'https://openid.akehir.com:55002';
return 'https://openid.akehir.com/api';
}
return 'http://localhost:55001';
......
......@@ -17,16 +17,17 @@
/***************************************************************************************************
* BROWSER POLYFILLS
*/
import 'core-js/es6';
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
// import 'classlist.js'; // Run `npm install --save classlist.js`.
import 'classlist.js'; // Run `npm install --save classlist.js`.
/**
* Web Animations `@angular/platform-browser/animations`
* Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
* Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
*/
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
import 'web-animations-js'; // Run `npm install --save web-animations-js`.
/**
* By default, zone.js will patch all possible macroTask and DomEvents
......@@ -61,3 +62,6 @@ import 'zone.js/dist/zone'; // Included with Angular CLI.
/***************************************************************************************************
* APPLICATION IMPORTS
*/
// This will make svg icons behave better in IE.
import * as svg4everybody from 'svg4everybody/dist/svg4everybody.js';
svg4everybody();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment