Skip to content

Commit 54ae73c

Browse files
Merge pull request #66 from druling/dev
Fix cors
2 parents dbec00b + 63e8fac commit 54ae73c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ jobs:
7979
--cluster $ECS_CLUSTER \
8080
--service $ECS_SERVICE \
8181
--force-new-deployment \
82-
--region $AWS_REGION \
83-
--no-cli-pager \
84-
> /dev/null 2>&1
82+
--region $AWS_REGION
8583
8684
echo "Started Deployment"

setup/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237
else:
238238
CORS_ALLOW_ALL_ORIGINS = False
239239
CORS_ALLOWED_ORIGIN_REGEXES = [
240-
r"^https://.*\.druling\.com$",
240+
r"^https://(.*\.)?druling\.com$",
241241
]
242242

243243
LOCALSTACK_PORT = os.getenv("LOCALSTACK_PORT", "4566")

0 commit comments

Comments
 (0)