Skip to content

Commit 01dd682

Browse files
glencwillisGlen Willis
andauthored
[Aampe] Add US endpoint (#3664)
* [Aampe] Add US endpoint * [Aampe] Fix US endpoint URL to include /v1/ --------- Co-authored-by: Glen Willis <[email protected]>
1 parent 16d4e64 commit 01dd682

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
export const SingaporeURL = 'https://ingestion-service-asia-southeast1-toqowp62ka-as.a.run.app/v1/'
32
export const GermanyURL = 'https://ingestion-service-europe-west3-toqowp62ka-ey.a.run.app/v1/'
4-
export const FranceURL = 'https://ingestion-service-europe-west9-toqowp62ka-ey.a.run.app/v1/'
3+
export const UsURL = 'https://ingestion.us-east1.api.aampe.com/v1/'

packages/destination-actions/src/destinations/aampe/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { DestinationDefinition, defaultValues } from '@segment/actions-core'
22
import type { Settings } from './generated-types'
33
import sendEvent from './sendEvent'
44
import upsertUserProfile from './upsertUserProfile'
5-
import { SingaporeURL, GermanyURL, FranceURL } from './constants'
5+
import { SingaporeURL, GermanyURL, UsURL } from './constants'
66

77
const destination: DestinationDefinition<Settings> = {
88
name: 'Aampe (Actions)',
@@ -26,7 +26,7 @@ const destination: DestinationDefinition<Settings> = {
2626
choices: [
2727
{ label: 'Singapore', value: SingaporeURL },
2828
{ label: 'Germany', value: GermanyURL },
29-
{ label: 'France', value: FranceURL }
29+
{ label: 'US', value: UsURL }
3030
],
3131
default: SingaporeURL
3232
}

0 commit comments

Comments
 (0)