Skip to content

Commit

Permalink
Merge pull request #15 from gisktzh/fix/update-api-to-v3
Browse files Browse the repository at this point in the history
update api version to v3
  • Loading branch information
Tugark authored Oct 28, 2024
2 parents dc066c4 + 0d2827c commit b97588b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 49 deletions.
49 changes: 1 addition & 48 deletions src/app/shared/configs/runtime.dev-ebp.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,59 +4,12 @@ import {RuntimeConfig} from '../interfaces/runtime-config.interface';
* This runtime configuration is used for the EBP dev instance and replaces runtime.config.ts during build.
*/
export const defaultRuntimeConfig: RuntimeConfig[] = [
{
hostMatch: 'calm-plant-0ecbec603.2.azurestaticapps.net',
apiBasePaths: {
gb2Api: {
baseUrl: 'https://maps.zh.ch/gb3',
version: 'v3',
},
gb2StaticFiles: {
baseUrl: 'https://maps.zh.ch',
},
gb2WmsCapabilities: {
baseUrl: 'https://maps.zh.ch/wms',
},
gb2Wms: {
baseUrl: 'https://wms.zh.ch',
},
geoLion: {
baseUrl: 'https://geolion.zh.ch',
},
ktzhWebsite: {
baseUrl: 'https://www.zh.ch',
useMockData: false,
},
gravCms: {
baseUrl: 'https://geo.zh.ch/cms',
useMockData: false,
},
twitterWidget: {
baseUrl: 'https://platform.twitter.com/widgets.js',
},
geoshopApi: {
baseUrl: 'https://geoservices.zh.ch/geoshopapi/v1',
},
ownershipInformationApi: {
baseUrl: 'https://portal.objektwesen.zh.ch/aks/detail',
},
swisstopoRestApi: {
baseUrl: 'https://api3.geo.admin.ch/rest/services',
},
},
authSettings: {
clientId: 'gb3',
issuer: 'https://maps.zh.ch/',
},
featureFlags: {},
overrides: {},
},
{
hostMatch: 'dev.geo.zh.ch',
apiBasePaths: {
gb2Api: {
baseUrl: 'https://maps.zh.ch/gb3',
version: 'v2',
version: 'v3',
},
gb2StaticFiles: {
baseUrl: 'https://maps.zh.ch',
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/configs/runtime.prod.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const defaultRuntimeConfig: RuntimeConfig[] = [
apiBasePaths: {
gb2Api: {
baseUrl: 'https://maps.zh.ch/gb3',
version: 'v2',
version: 'v3',
},
gb2StaticFiles: {
baseUrl: 'https://maps.zh.ch',
Expand Down

0 comments on commit b97588b

Please sign in to comment.