When I'm trying to set up the server with the content on my Raspberry PI with command:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
root@pi:~/gallery-server/server# npx /root/gallery-server -p 3000 -t 111111 --folder /root/Photos
┌─────────────────────────────────────────────────────┐
│ │
│ gallery-server@1.8.0 │
│ github: https://github.com/legend80s/gallery-server │
│ │
└─────────────────────────────────────────────────────┘
Local images served from /root/Photos. You can now enjoy the gallery in the browser.
Secret token: 111111, ONLY SHARE WITH YOUR TRUSTED FRIENDS!
PC: http://localhost:3000/
Mobile and Shareable: http://192.168.0.247:3000/?token=111111
GET /?token=111111 - 20ms
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Then I'm trying to reach that page from my laptop:
http://192.168.0.247:3000/?token=111111
And then I'm redirected to https://github.com/legend80s/gallery-server
That's very strange. Server is logging that there was GET request as you can see in the output.
Folder with pictures have "777" permissions set on.
When I'm trying to set up the server with the content on my Raspberry PI with command:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
root@pi:~/gallery-server/server# npx /root/gallery-server -p 3000 -t 111111 --folder /root/Photos
┌─────────────────────────────────────────────────────┐
│ │
│ gallery-server@1.8.0 │
│ github: https://github.com/legend80s/gallery-server │
│ │
└─────────────────────────────────────────────────────┘
Local images served from /root/Photos. You can now enjoy the gallery in the browser.
Secret token: 111111, ONLY SHARE WITH YOUR TRUSTED FRIENDS!
PC: http://localhost:3000/
Mobile and Shareable: http://192.168.0.247:3000/?token=111111
GET /?token=111111 - 20ms
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Then I'm trying to reach that page from my laptop:
http://192.168.0.247:3000/?token=111111
And then I'm redirected to https://github.com/legend80s/gallery-server
That's very strange. Server is logging that there was GET request as you can see in the output.
Folder with pictures have "777" permissions set on.