I used the following startup service to realize the self-starting of localized web pages.
[Unit]
Description=Uavlogviewer Server Service
After=network.target
[Service]
Environment=PORT=8080
WorkingDirectory=/home/ubuntu/repos/uavlog-viewer
ExecStart=/usr/bin/npm run dev
Restart=on-failure
user=ubuntu
[Install]
WantedBy=multi-user.target
This worked fine on my laptop, but when I ported them to the Raspberry Pi, it worked but took almost half an hour to compile. Is there any way to directly read the previously compiled files?
I used the following startup service to realize the self-starting of localized web pages.
This worked fine on my laptop, but when I ported them to the Raspberry Pi, it worked but took almost half an hour to compile. Is there any way to directly read the previously compiled files?