Make logo url part of environment
This commit is contained in:
parent
28aabc0960
commit
8d4627f5f6
@ -22,7 +22,7 @@ steps:
|
|||||||
- name: build-prod
|
- name: build-prod
|
||||||
image: glmdev/node-pnpm:latest
|
image: glmdev/node-pnpm:latest
|
||||||
commands:
|
commands:
|
||||||
- pnpm i
|
- pnpm i --silent
|
||||||
- ./node_modules/.bin/ionic build --prod
|
- ./node_modules/.bin/ionic build --prod
|
||||||
- ./node_modules/.bin/ngsw-config ./www/ ./ngsw-config.json /i
|
- ./node_modules/.bin/ngsw-config ./www/ ./ngsw-config.json /i
|
||||||
- tar czf build.tar.gz www
|
- tar czf build.tar.gz www
|
||||||
|
@ -5,6 +5,7 @@ import {EditorService} from '../../service/editor.service';
|
|||||||
import {ApiService} from '../../service/api.service';
|
import {ApiService} from '../../service/api.service';
|
||||||
import {NavigationService} from '../../service/navigation.service';
|
import {NavigationService} from '../../service/navigation.service';
|
||||||
import {AuthService} from '../../service/auth.service';
|
import {AuthService} from '../../service/auth.service';
|
||||||
|
import {environment} from '../../../environments/environment';
|
||||||
|
|
||||||
export type LoginPageStep = 'greeter' | 'username' | 'password' | 'create-account';
|
export type LoginPageStep = 'greeter' | 'username' | 'password' | 'create-account';
|
||||||
|
|
||||||
|
@ -4,5 +4,6 @@ export const environment = {
|
|||||||
databaseBase: '/db_api/v1',
|
databaseBase: '/db_api/v1',
|
||||||
statUrl: '/stat?ngsw-bypass',
|
statUrl: '/stat?ngsw-bypass',
|
||||||
versionUrl: '/i/version.html?ngsw-bypass',
|
versionUrl: '/i/version.html?ngsw-bypass',
|
||||||
|
logoUrl: '/i/assets/icon/logo_lines.svg',
|
||||||
outputDebug: false,
|
outputDebug: false,
|
||||||
};
|
};
|
||||||
|
@ -8,6 +8,7 @@ export const environment = {
|
|||||||
databaseBase: '/link_api/db_api/v1',
|
databaseBase: '/link_api/db_api/v1',
|
||||||
statUrl: '/link_api/stat?ngsw-bypass',
|
statUrl: '/link_api/stat?ngsw-bypass',
|
||||||
versionUrl: '/link_api/assets/version.html?ngsw-bypass',
|
versionUrl: '/link_api/assets/version.html?ngsw-bypass',
|
||||||
|
logoUrl: '/assets/icon/logo_lines.svg',
|
||||||
outputDebug: true,
|
outputDebug: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user