-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(web): refactor server to export
run
and return http.Server
This change modifies the `run` function to export it and ensures it returns an `http.Server` instance. It also updates the configuration handling, simplifying input decoding and assigning a default port if not provided. These adjustments improve reusability and clarity.
- Loading branch information
1 parent
1d28190
commit 49bf194
Showing
1 changed file
with
18 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters