solid-hackernews
solid-hackernews copied to clipboard
localhost 5000 results in 403 http error
I'm not sure if this is an issue others are running into, but this tripped me up when I tried to clone and run this project. I checked across Firefox, Chrome, and Brave and there seems to be an issue running localhost:5000. Incognito mode and clearing history didn't seem to make a difference.
curl "localhost:5000" -i gives:
HTTP/1.1 403 Forbidden
Content-Length: 0
Server: AirTunes/620.8.2
Changing to port 5001 seemed to fix the issue:
{
"scripts": {
"start": "serve public -l 5001 -s & rollup -w -c",
"build": "rollup -c --environment production",
"serve": "serve public -l 5001 -s",
"test": "test"
},
}
Here's a similar issue, might be an Apple thing?
https://github.com/sveltejs/template/issues/184
I'm running macOS Monterey 12.5.1.