open-redirect/api/src/redirector
edraft 335296e29d
All checks were successful
Build on push / build-redirector (push) Successful in 28s
Build on push / build-api (push) Successful in 30s
Build on push / build-web (push) Successful in 47s
Updated dockerfiles
2025-01-10 13:56:11 +01:00

17 lines
369 B
Bash
Executable File

#!/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