Skip to content

Commit 5b16ae0

Browse files
authored
Merge pull request #1402 from haskell/readme-user-content-uri
Adjust README to user content domain addition
2 parents 4d23cdb + 3061f2b commit 5b16ae0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,11 @@ Alternatively, open the [`nix develop`](https://nixos.org/manual/nix/stable/comm
3333
# if state directory does not already exist
3434
$ cabal v2-run -- hackage-server init --static-dir=datafiles --state-dir=state
3535

36-
$ cabal v2-run -- hackage-server run --static-dir=datafiles --state-dir=state --base-uri=http://127.0.0.1:8080
37-
hackage-server: Ready! Point your browser at http://127.0.0.1:8080
36+
$ cabal v2-run -- hackage-server run --static-dir=datafiles --state-dir=state \
37+
--base-uri=http://localhost:8080 \
38+
--required-base-host-header=localhost:8080 \
39+
--user-content-uri=http://127.0.0.1:8080
40+
hackage-server: Ready! Point your browser at http://localhost:8080
3841

3942
#### Populate the local package index
4043

0 commit comments

Comments
 (0)