Make logo url part of environment
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
Garrett Mills 2021-02-18 11:34:11 -06:00
parent 28aabc0960
commit 8d4627f5f6
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246
4 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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';

View File

@ -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,
}; };

View File

@ -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,
}; };