diff options
author | Runxi Yu <me@runxiyu.org> | 2025-04-01 22:59:09 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-04-01 22:59:09 +0800 |
commit | 3d7b1fd49bf23142d354b31a46af540bbe0e8300 (patch) | |
tree | a9e196d2056b61e3c3c7242d3de1d73cc491c791 /flags.go | |
parent | Make the python solver detect when there are missing arguments (diff) | |
download | powxy-3d7b1fd49bf23142d354b31a46af540bbe0e8300.tar.gz powxy-3d7b1fd49bf23142d354b31a46af540bbe0e8300.tar.zst powxy-3d7b1fd49bf23142d354b31a46af540bbe0e8300.zip |
Update default repo URL
Diffstat (limited to 'flags.go')
-rw-r--r-- | flags.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ var ( // This init parses command line flags. func init() { flag.UintVar(&global.NeedBits, "difficulty", 20, "leading zero bits required for the challenge") - flag.StringVar(&global.SourceURL, "source", "https://forge.lindenii.runxiyu.org/powxy/:/repos/powxy/", "url to the source code") + flag.StringVar(&global.SourceURL, "source", "https://forge.lindenii.runxiyu.org/powxy/-/repos/powxy/", "url to the source code") flag.StringVar(&listenAddr, "listen", ":8081", "address to listen on") flag.StringVar(&destHost, "upstream", "http://127.0.0.1:8080", "destination url base to proxy to") flag.BoolVar(&secondary, "secondary", false, "trust X-Forwarded-For headers") |