Skip to content

[Feature]: Move Server Hook Code Out of Build-Time Path #347

@Suvam-paul145

Description

@Suvam-paul145

The server hooks file uses a building flag to guard code that should only run at
server start time. The TODO suggests moving this logic to a proper started-server
hook.

What needs to happen:

  • Identify the correct SvelteKit server lifecycle hook.
  • Move the guarded logic there and remove the building flag.

Relevant files:

  • frontend/src/hooks.server.ts (line 42)

I want to work in this issue please assign me this issue

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions