Fix url entered in browser for forgot password stuff

This commit is contained in:
2024-09-03 13:12:40 +02:00
parent 23d9a1211c
commit a95712b59b
3 changed files with 41 additions and 43 deletions

View File

@@ -4,15 +4,14 @@
PORT=83
# Check if the port is in use and release it if necessary.
echo "Checking if port $PORT is in use..."
if [ "$(lsof -t -i :$PORT)" ]; then
echo "Port $PORT is in use. Stopping the process on that port..."
fuser -k -n tcp $PORT
fi
# echo "Checking if port $PORT is in use..."
# if [ "$(lsof -t -i :$PORT)" ]; then
# echo "Port $PORT is in use. Stopping the process on that port..."
# fuser -k -n tcp $PORT
# fi
# Switch to the web construction directory
cd /app/build/web/
# Start the web server on the specified port
echo "Starting the server on port $PORT..."
python3 -m http.server $PORT
python3 -u ../../server/MIH_web_server.py