Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
web-et-numerique
web-et-numerique-internet
data.grandlyon.com
web-portal
components
custom-apps
web-app
Commits
5adf49ef
Commit
5adf49ef
authored
Feb 25, 2019
by
ncastejon
Browse files
Fix file import to work with karma
parent
3d0e363f
Pipeline
#1523
passed with stages
in 18 minutes and 15 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
package-lock.json
View file @
5adf49ef
{
"name"
:
"webapp"
,
"version"
:
"
0
.0.0"
,
"version"
:
"
2
.0.0"
,
"lockfileVersion"
:
1
,
"requires"
:
true
,
"dependencies"
:
{
...
...
src/environments/environment.dev.ts
View file @
5adf49ef
import
{
AppRoutes
}
from
'
../app/routes
'
;
import
*
as
packageJson
from
'
../../package.json
'
;
// The file contents for the current environment will overwrite these during build.
// The build system defaults to the dev environment which uses `environment.ts`
...
...
@@ -6,6 +7,8 @@ import { AppRoutes } from '../app/routes';
const
kongBaseUrl
=
'
https://kong-dev.alpha.grandlyon.com
'
;
export
const
environment
=
{
version
:
(
<
any
>
packageJson
).
version
,
production
:
true
,
passwordMinLength
:
6
,
...
...
src/environments/environment.staging.ts
View file @
5adf49ef
import
*
as
packageJson
from
'
../../package.json
'
;
import
{
AppRoutes
}
from
'
../app/routes
'
;
// The file contents for the current environment will overwrite these during build.
...
...
@@ -6,6 +7,8 @@ import { AppRoutes } from '../app/routes';
const
kongBaseUrl
=
'
https://kong-rec.alpha.grandlyon.com
'
;
export
const
environment
=
{
version
:
(
<
any
>
packageJson
).
version
,
production
:
true
,
passwordMinLength
:
6
,
...
...
src/environments/environment.ts
View file @
5adf49ef
import
{
AppRoutes
}
from
'
../app/routes
'
;
import
packageJson
from
'
../../package.json
'
;
import
*
as
packageJson
from
'
../../package.json
'
;
// The file contents for the current environment will overwrite these during build.
// The build system defaults to the dev environment which uses `environment.ts`
...
...
@@ -8,7 +8,7 @@ const servicesProxyUrl = 'https://data-intothesky.alpha.grandlyon.com';
const
kongBaseUrl
=
'
https://kong-dev.alpha.grandlyon.com
'
;
export
const
environment
=
{
version
:
packageJson
.
version
,
version
:
(
<
any
>
packageJson
)
.
version
,
production
:
false
,
passwordMinLength
:
6
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment