Skip to content

Commit

Permalink
Fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
Carminepo2 committed Dec 20, 2024
1 parent 855bb88 commit 88483de
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/config/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ export const PRODUCER_ALLOWED_ORIGINS = PAGOPA_ENV?.PRODUCER_ALLOWED_ORIGINS.spl
.map((o) => o.trim())
.filter(Boolean) ?? ['IPA']

export const API_SIGNAL_HUB_PUSH_INTERFACE_URL = getEnvVar(
'API_SIGNAL_HUB_PUSH_INTERFACE_URL',
'https://raw.githubusercontent.com/pagopa/interop-signalhub-core/refs/heads/main/docs/openAPI/push-signals.yaml'
)
export const API_SIGNAL_HUB_PUSH_INTERFACE_URL =
isProduction && PAGOPA_ENV
? PAGOPA_ENV['API_SIGNAL_HUB_PUSH_INTERFACE_URL']
: `https://raw.githubusercontent.com/pagopa/interop-signalhub-core/refs/heads/main/docs/openAPI/push-signals.yaml`

export const API_SIGNAL_HUB_PULL_INTERFACE_URL = getEnvVar(
'API_SIGNAL_HUB_PULL_INTERFACE_URL',
'https://raw.githubusercontent.com/pagopa/interop-signalhub-core/refs/heads/main/docs/openAPI/pull-signals.yaml'
)
export const API_SIGNAL_HUB_PULL_INTERFACE_URL =
isProduction && PAGOPA_ENV
? PAGOPA_ENV['API_SIGNAL_HUB_PULL_INTERFACE_URL']
: `https://raw.githubusercontent.com/pagopa/interop-signalhub-core/refs/heads/main/docs/openAPI/pull-signals.yaml`
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ export const VoucherInstructionsStep4: React.FC = () => {
const eserviceName = purpose ? purpose.eservice.name : ''
const producer = purpose ? purpose.eservice.producer.name : ''

console.log({ API_SIGNAL_HUB_PUSH_INTERFACE_URL })

return (
<>
<Alert severity="success" variant="outlined">
Expand Down

0 comments on commit 88483de

Please sign in to comment.