Skip to content

Commit

Permalink
Small bug in settings, with mapbox token
Browse files Browse the repository at this point in the history
  • Loading branch information
frasanz committed Oct 6, 2024
1 parent fe87423 commit 869e1f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions frontend/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# Create your views here.

def index(request):
print(settings.MAPBOX_ACCESS_TOKEN)
context = {
'mapbox_token': settings.MAPBOX_ACCESS_TOKEN
}
Expand Down
2 changes: 1 addition & 1 deletion openred/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
}

# Mapbox
MAPBOX_ACCESS_TOKEN = config('MAPBOX_ACCESS_TOKEN', default=''), # Fetch from environment variable
MAPBOX_ACCESS_TOKEN = config('MAPBOX_ACCESS_TOKEN', default='') # Fetch from environment variable


# Internationalization
Expand Down

0 comments on commit 869e1f5

Please sign in to comment.