Skip to content

Commit

Permalink
Add flags to sample program for use behind proxies
Browse files Browse the repository at this point in the history
  • Loading branch information
torenware committed Jul 23, 2022
1 parent 385bcf5 commit 49d1709
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/sample-program/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ func main() {

flag.StringVar(&config.Environment, "env", "development", "development|production")
flag.StringVar(&config.JSProjectPath, "assets", "", "location of javascript files.")
flag.StringVar(&config.DevServerDomain, "domain", "localhost", "Domain of the dev server.")
flag.BoolVar(&config.HTTPS, "https", false, "Expect dev server to use HTTPS")
flag.StringVar(&config.AssetsPath, "dist", "", "dist directory relative to the JS project directory.")
flag.StringVar(&config.EntryPoint, "entryp", "", "relative path of the entry point of the js app.")
flag.StringVar(&config.Platform, "platform", "", "vue|react|svelte")
Expand Down

0 comments on commit 49d1709

Please sign in to comment.