Hello, I have a Raspberry Pi Zero 2 W with a Display.
I want to host a Website in the localhost and then show it on the Display.
To make the Website run, I gotta run 2 different commands (
node server.js
and
http-server
) and when I make this using:
bash
#!/bin/bash
sudo gnome-terminal --working-directory=/home/kiski/SpotifyDashboard/ -- http-server
sudo gnome-terminal --working-directory=/home/kiski/SpotifyDashboard/ -- node server.js
sleep 2
chromium-browser --app=http://127.0.0.1:8080/
It just shows this Page: (view attatched pic)
But weirdly it still shows the correct icon.
How can I fix this?
OS: Raspberry Pi OS