~linuxgoose/bocpress

ref: a044d95ebe920ab4bd8a258918dfdb12b19f85c2 bocpress/main/scheme.py -rw-r--r-- 134 bytes
a044d95eJordan Robinson update landing text 8 days ago
                                                                                
1
2
3
4
5
6
7
8
from django.conf import settings


def get_protocol():
    if settings.DEBUG:
        return "http:"
    else:
        return "https:"