#!/bin/bash

if [[ $1 == "-dev" ]]; then
    export ENVIRONMENT=development
    export NAME=Open-redirect-dev
elif [[ $1 == "-stage" ]]; then
    export ENVIRONMENT=staging
    export NAME=Open-redirect-test
elif [[ $1 == "-prod" ]]; then
    export ENVIRONMENT=production
    export NAME=Open-redirect
fi

export PYTHONPATH=./:$PYTHONPATH

python3.12 -u redirector.py
