saas-reference-architecture-ecs icon indicating copy to clipboard operation
saas-reference-architecture-ecs copied to clipboard

Fix staticSite initialization and improve import statements

Open KennyDizi opened this issue 5 months ago • 3 comments

PR Type

bug_fix, enhancement


Description

  • Fixed the initialization of the staticSite property in ControlPlaneStack.
  • Improved import statements by using * as path for consistency.
  • Corrected trailing spaces in control-plane-stack.ts.
  • Enhanced JSON formatting in core-appplane-stack.ts for better readability.

Changes walkthrough

Relevant files
Bug fix
control-plane-stack.ts
Fix staticSite initialization and improve imports               

server/lib/bootstrap-template/control-plane-stack.ts

  • Changed import statement for path to use * as path.
  • Fixed trailing spaces in the code.
  • Initialized staticSite as a class property.
  • +4/-4     
    Enhancement
    core-appplane-stack.ts
    Improve path import and JSON formatting                                   

    server/lib/bootstrap-template/core-appplane-stack.ts

  • Changed import statement for path to use * as path.
  • Improved formatting of JSON in PolicyDocument.
  • +14/-14 

    By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

    KennyDizi avatar Sep 06 '24 04:09 KennyDizi