diff --git a/backend/backend/settings.py b/backend/backend/settings.py index 9af9117..ce163a5 100644 --- a/backend/backend/settings.py +++ b/backend/backend/settings.py @@ -17,7 +17,8 @@ env = environ.Env( DEBUG=(bool, False), - AWS_S3_ENDPOINT_URL=(str, None) + AWS_S3_ENDPOINT_URL=(str, None), + AWS_QUERYSTRING_AUTH=(bool, True) ) # reading .env file @@ -147,3 +148,4 @@ AWS_S3_ENDPOINT_URL = env('AWS_S3_ENDPOINT_URL') AWS_STORAGE_BUCKET_NAME = env('AWS_STORAGE_BUCKET_NAME') AWS_LOCATION = env('AWS_LOCATION') +AWS_QUERYSTRING_AUTH = env('AWS_QUERYSTRING_AUTH') diff --git a/backend/docker-compose.yml b/backend/docker-compose.yml index deb0883..fe9a0f0 100644 --- a/backend/docker-compose.yml +++ b/backend/docker-compose.yml @@ -18,6 +18,7 @@ services: AWS_SECRET_ACCESS_KEY: "${AWS_SECRET_ACCESS_KEY}" AWS_S3_ENDPOINT_URL: "${AWS_S3_ENDPOINT_URL}" AWS_STORAGE_BUCKET_NAME: "${AWS_STORAGE_BUCKET_NAME}" + AWS_QUERYSTRING_AUTH: "${AWS_QUERYSTRING_AUTH}" DEBUG: "${DEBUG}" postgres: image: postgres diff --git a/extension/content-script.js b/extension/content-script.js index 7132ce7..614f03b 100644 --- a/extension/content-script.js +++ b/extension/content-script.js @@ -63,7 +63,7 @@ function akaStoriesOnClick(username, imageUrl) { backgroundDismiss: true, buttons: { close: { - text: 'Tutup', + text: 'Close', keys: ['esc'] } } @@ -94,7 +94,7 @@ function akaYourStoryOnClick() { backgroundDismiss: true, buttons: { close: { - text: 'Tutup', + text: 'Close', keys: ['esc'] } }, @@ -151,7 +151,7 @@ function akaFollowersOnClick() { backgroundDismiss: true, buttons: { close: { - text: 'Tutup', + text: 'Close', keys: ['esc'] } },