Skip to content

Commit

Permalink
create world with base_path
Browse files Browse the repository at this point in the history
  • Loading branch information
lcduong committed Oct 9, 2024
1 parent 957b01f commit dc8212b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/venueless/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def post(request, *args, **kwargs) -> JsonResponse:
world = World.objects.create(
id=request.data.get('id'),
title=request.data.get('title')[request.data.get('locale')] or request.data.get('title')['en'],
domain='{}/video/{}'.format(settings.DOMAIN_PATH, settings.BASE_PATH, request.data.get('id')),
domain='{}{}/{}'.format(settings.DOMAIN_PATH, settings.BASE_PATH, request.data.get('id')),
locale=request.data.get('locale'),
timezone=request.data.get('timezone'),
config=config,
Expand Down

0 comments on commit dc8212b

Please sign in to comment.