mirror of https://github.com/rancher/ui.git
Remove baseURL
This commit is contained in:
parent
a3a8fe7307
commit
4ed83887a0
|
|
@ -53,7 +53,6 @@ module.exports = function(environment) {
|
||||||
modulePrefix: 'ui',
|
modulePrefix: 'ui',
|
||||||
environment: environment,
|
environment: environment,
|
||||||
exportApplicationGlobal: true,
|
exportApplicationGlobal: true,
|
||||||
baseURL: '/',
|
|
||||||
locationType: 'auto',
|
locationType: 'auto',
|
||||||
EmberENV: {
|
EmberENV: {
|
||||||
FEATURES: {
|
FEATURES: {
|
||||||
|
|
@ -137,7 +136,6 @@ module.exports = function(environment) {
|
||||||
|
|
||||||
if (environment === 'test') {
|
if (environment === 'test') {
|
||||||
// Testem prefers this...
|
// Testem prefers this...
|
||||||
ENV.baseURL = '/';
|
|
||||||
ENV.locationType = 'none';
|
ENV.locationType = 'none';
|
||||||
|
|
||||||
// keep test console output quieter
|
// keep test console output quieter
|
||||||
|
|
@ -147,12 +145,6 @@ module.exports = function(environment) {
|
||||||
ENV.APP.rootElement = '#ember-testing';
|
ENV.APP.rootElement = '#ember-testing';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (process.env.BASE_URL) {
|
|
||||||
ENV.baseURL = process.env.BASE_URL;
|
|
||||||
}
|
|
||||||
|
|
||||||
ENV.APP.baseURL = ENV.baseURL;
|
|
||||||
|
|
||||||
if (process.env.FINGERPRINT) {
|
if (process.env.FINGERPRINT) {
|
||||||
ENV.APP.fingerprint = process.env.FINGERPRINT;
|
ENV.APP.fingerprint = process.env.FINGERPRINT;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue