Skip to content

Commit

Permalink
feat(dart_Frog_dev): add host option to dart frog dev
Browse files Browse the repository at this point in the history
  • Loading branch information
renancaraujo committed Oct 17, 2023
1 parent be7e1ea commit 3c05ee5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bricks/dart_frog_dev_server/__brick__/server.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions bricks/dart_frog_dev_server/hooks/pre_gen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ Future<void> preGen(
);

context.vars = {
'host': context.vars['host'] ?? '',
'port': context.vars['port'] ?? '8080',
'directories': configuration.directories
.map((c) => c.toJson())
Expand Down

0 comments on commit 3c05ee5

Please sign in to comment.