Skip to content

Conversation

alan-agius4
Copy link
Collaborator

@alan-agius4 alan-agius4 commented Sep 29, 2025

The property pm_id on process.env comes from an index signature, so it must be accessed with bracket notation (['pm_id']) to avoid TypeScript errors. This change corrects the access to process.env['pm_id'] in the SSR server template.

pm_id is an environment variable that is set by PN2.

…d']`

The property `pm_id` on `process.env` comes from an index signature, so it must be accessed with bracket notation (`['pm_id']`) to avoid TypeScript errors. This change corrects the access to `process.env['pm_id']` in the SSR server template.
@alan-agius4 alan-agius4 requested a review from clydin September 29, 2025 15:53
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Sep 29, 2025
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Sep 29, 2025
@clydin clydin merged commit 57075a3 into angular:main Sep 29, 2025
59 of 60 checks passed
@clydin
Copy link
Member

clydin commented Sep 29, 2025

This PR was merged into the repository. The changes were merged into the following branches:

@alan-agius4 alan-agius4 deleted the pm_id branch September 29, 2025 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: @schematics/angular target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants