-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
602a486
commit 7a78528
Showing
7 changed files
with
2 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,6 @@ | |
INSTALLED_APPS = ( | ||
"anymail", | ||
"deploy", | ||
"aimmo", | ||
"game", | ||
"pipeline", | ||
"portal", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,7 +62,6 @@ | |
INSTALLED_APPS = ( | ||
"anymail", | ||
"deploy", | ||
"aimmo", | ||
"game", | ||
"pipeline", | ||
"portal", | ||
|
@@ -104,7 +103,6 @@ | |
"preventconcurrentlogins.middleware.PreventConcurrentLoginsMiddleware", | ||
"csp.middleware.CSPMiddleware", | ||
"deploy.middleware.screentime_warning.ScreentimeWarningMiddleware", | ||
"aimmo.middleware.game_limit_exceeded.GameLimitExceededMiddleware", | ||
] | ||
|
||
AUTHENTICATION_BACKENDS = [ | ||
|
@@ -219,16 +217,6 @@ | |
CSRF_COOKIE_SECURE = True | ||
CSRF_USE_SESSIONS = False | ||
|
||
AIMMO_DJANGO_BASE_URL = f"https://{os.getenv('GAE_SERVICE')}-dot-decent-digit-629.appspot.com" | ||
|
||
AIMMO_GAME_SERVER_URL_FUNCTION = lambda game: ( | ||
f"{os.getenv('GAE_SERVICE')}-aimmo.codeforlife.education", | ||
f"/game-{game}/socket.io", | ||
) | ||
|
||
AIMMO_GAME_SERVER_PORT_FUNCTION = lambda game: 0 | ||
AIMMO_GAME_SERVER_SSL_FLAG = True | ||
|
||
EMAIL_ADDRESS = "[email protected]" | ||
|
||
LOCALE_PATHS = ("conf/locale",) | ||
|
@@ -301,8 +289,6 @@ def domain(): | |
"https://crowdin.com/", | ||
"https://o2.mouseflow.com/", | ||
"https://stats.g.doubleclick.net/", | ||
f"wss://{MODULE_NAME}-aimmo.codeforlife.education/", | ||
f"https://{MODULE_NAME}-aimmo.codeforlife.education/", | ||
) | ||
CSP_FONT_SRC = ( | ||
"'self'", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
from django.http import JsonResponse | ||
|
||
import aimmo | ||
import game | ||
import portal | ||
|
||
|
||
def versions(_request): | ||
"""Return json containing the installed versions of the main packages.""" | ||
return JsonResponse({ | ||
'aimmo': aimmo.__version__, | ||
'codeforlife-portal': portal.__version__, | ||
'rapid-router': game.__version__ | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters