mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
changed travis/docker setup
This commit is contained in:
@@ -10,7 +10,7 @@ export const environment: GlobalConfig = {
|
||||
ui: new ServerConfig(
|
||||
false,
|
||||
'localhost',
|
||||
3000,
|
||||
4000,
|
||||
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
|
||||
'/',
|
||||
),
|
||||
|
6
src/environments/environment.dev.ts
Normal file
6
src/environments/environment.dev.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { environment as defaultEnv } from './environment.common';
|
||||
import { GlobalConfig } from '../config/global-config.interface';
|
||||
|
||||
export const environment: GlobalConfig = {
|
||||
...defaultEnv,
|
||||
};
|
6
src/environments/environment.prod.ts
Normal file
6
src/environments/environment.prod.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { environment as defaultEnv } from './environment.common';
|
||||
import { GlobalConfig } from '../config/global-config.interface';
|
||||
|
||||
export const environment: GlobalConfig = {
|
||||
...defaultEnv,
|
||||
};
|
@@ -68,5 +68,14 @@ export const environment: GlobalConfig = {
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
languages: [{
|
||||
code: 'en',
|
||||
label: 'English',
|
||||
active: true,
|
||||
}, {
|
||||
code: 'de',
|
||||
label: 'Deutsch',
|
||||
active: true,
|
||||
}]
|
||||
};
|
||||
|
14
src/environments/environment.travis.ts
Normal file
14
src/environments/environment.travis.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { environment as defaultEnv } from './environment.common';
|
||||
import { GlobalConfig } from '../config/global-config.interface';
|
||||
import { ServerConfig } from '../config/server-config.interface';
|
||||
|
||||
export const environment: GlobalConfig = {
|
||||
...defaultEnv,
|
||||
rest: new ServerConfig(
|
||||
false,
|
||||
'localhost',
|
||||
8080,
|
||||
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
|
||||
'/server/api',
|
||||
),
|
||||
};
|
Reference in New Issue
Block a user