hstspreload.org icon indicating copy to clipboard operation
hstspreload.org copied to clipboard

Local development: support 127.0.0.1 too

Open XhmikosR opened this issue 8 years ago • 2 comments

So, after I set up the local env, I visited 127.0.0.1:8080. Now, I know the README states localhost but localhost translates to 127.0.0.1 too so if it's not too much trouble both should be supported.

XhmikosR avatar Oct 25 '17 12:10 XhmikosR

shakes fist at Google Cloud

This should be easy, but every time I touch the relevant file I also cause a bug due to unforeseen issues with Google Cloud:

https://github.com/chromium/hstspreload.org/blob/0e96795849e35ed537e712ba85d1fbbe7e0a6674/hstsserver.go#L23-L26

lgarron avatar Oct 25 '17 19:10 lgarron

@lgarron: something else I wonder after setting things up locally. In README.md you mention:

cd $GOPATH/src/github.com/chromium/hstspreload.org

I personally just had to cd to the repository and do make serve. Also $GOPATH isn't available on my Windows VM, $GOROOT was set though by the installer.

XhmikosR avatar Oct 25 '17 20:10 XhmikosR